|
|
|
@ -792,7 +792,7 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
|
String qsjsrq = (String)map.get("qsjsrq"); |
|
|
|
|
String xfmc = (String)map.get("xfmc"); |
|
|
|
|
String maxTax = (String)map.get("maxTax"); |
|
|
|
|
String yxsxfs = (String)map.get("yxsxfs"); |
|
|
|
|
// String yxsxfs = (String)map.get("yxsxfs");
|
|
|
|
|
String qsr = (String)map.get("qsr"); |
|
|
|
|
String invoiceNo = (String)map.get("invoiceNo"); |
|
|
|
|
String companyCode = (String) map.get("companyCode"); |
|
|
|
@ -802,7 +802,20 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
|
String postingTimeStart = (String) map.get("postingTimeStart"); |
|
|
|
|
String snVoucherNumber = (String) map.get("snVoucherNumber"); |
|
|
|
|
String imageNumber = (String) map.get("imageNumber"); |
|
|
|
|
String accountPeriod = (String) map.get("accountPeriod"); |
|
|
|
|
Map<String, Object> pramsMap = new HashMap<>(18); |
|
|
|
|
pramsMap.put("bzdh",bzdh); |
|
|
|
|
pramsMap.put("companyCode",companyCode); |
|
|
|
|
pramsMap.put("companyCodes",getUserInfo().getCompanyCodes()); |
|
|
|
|
pramsMap.put("inAccountStatus",inAccountStatus); |
|
|
|
|
pramsMap.put("postingTimeEnd",postingTimeEnd); |
|
|
|
|
pramsMap.put("postingTimeStart",postingTimeStart); |
|
|
|
|
pramsMap.put("snVoucherNumber",snVoucherNumber); |
|
|
|
|
pramsMap.put("imageNumber",imageNumber); |
|
|
|
|
if (StringUtils.isNotEmpty(accountPeriod) && accountPeriod.length()>7){ |
|
|
|
|
accountPeriod = accountPeriod.substring(0,7); |
|
|
|
|
pramsMap.put("accountPeriod",accountPeriod); |
|
|
|
|
} |
|
|
|
|
pramsMap.put("business", getUserInfo().getBusiness()); |
|
|
|
|
pramsMap.put("dbName", getUserInfo().getDbName()); |
|
|
|
|
List<Tax> taxList = getUserInfo().getOrg(); |
|
|
|
@ -818,11 +831,11 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
|
// } else {
|
|
|
|
|
// return ResponseEntity.ok(R.error("税额容差不能为空!"));
|
|
|
|
|
// }
|
|
|
|
|
if (StringUtils.isNotBlank(yxsxfs)) { |
|
|
|
|
pramsMap.put("yxsxfs", yxsxfs); |
|
|
|
|
} else { |
|
|
|
|
return ResponseEntity.ok(R.error("优先筛选方式不能为空!")); |
|
|
|
|
} |
|
|
|
|
// if (StringUtils.isNotBlank(yxsxfs)) {
|
|
|
|
|
// pramsMap.put("yxsxfs", yxsxfs);
|
|
|
|
|
// } else {
|
|
|
|
|
// return ResponseEntity.ok(R.error("优先筛选方式不能为空!"));
|
|
|
|
|
// }
|
|
|
|
|
if (!"99".equals(gfsh) && StringUtils.isNotBlank(gfsh)) { |
|
|
|
|
pramsMap.put("gfsh", gfsh); |
|
|
|
|
} else { |
|
|
|
@ -921,6 +934,7 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
|
pramsMap.put("business", getUserInfo().getBusiness()); |
|
|
|
|
pramsMap.put("dbName", getUserInfo().getDbName()); |
|
|
|
|
pramsMap.put("userName", getUserName()); |
|
|
|
|
pramsMap.put("userAccount",getUserInfo().getLoginname()); |
|
|
|
|
pramsMap.put("company", map.get("company")); |
|
|
|
|
pramsMap.put("menuId", map.get("menuId")); |
|
|
|
|
pramsMap.put("gxType", map.get("gxType")); |
|
|
|
|