|
@@ -97,12 +97,12 @@ public class OwnInvoiceController extends BaseController {
|
|
|
@GetMapping(value = "/{ziiId}")
|
|
|
public AjaxResult getContractInfo(@PathVariable("ziiId") String ziiId, QueryRequest request) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
|
|
|
//获取用户信息
|
|
|
- LoginUser userInfo = tokenService.getLoginUser();
|
|
|
+// LoginUser userInfo = tokenService.getLoginUser();
|
|
|
//企业id
|
|
|
- String companyId = userInfo.getSysUser().getCompanyId();
|
|
|
+// String companyId = userInfo.getSysUser().getCompanyId();
|
|
|
LambdaQueryWrapper<ZcInvoiceInf> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
//公司编号
|
|
|
- lambdaQueryWrapper.eq(ZcInvoiceInf::getZiiCompanyId,companyId);
|
|
|
+// lambdaQueryWrapper.eq(ZcInvoiceInf::getZiiCompanyId,companyId);
|
|
|
//发票id
|
|
|
lambdaQueryWrapper.eq(ZcInvoiceInf::getZiiId,ziiId);
|
|
|
List<ZcInvoiceInf> invoiceInfList = zcInvoiceInfService.findZcInvoiceInfs(lambdaQueryWrapper);
|