手工认证和导出一致

release
yishiqihuasheng 2 years ago
parent d5908a51db
commit c8a8134756
  1. 3
      dxhy-base/src/main/java/com/dxhy/base/controller/BaseDktjController.java
  2. 4
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -112,6 +112,9 @@ public class BaseDktjController extends AbstractController {
@SysLog("调用抵扣统计和撤销统计查询入口接口")
public Object listStatisticalEnterprise(@RequestBody Map<String, Object> map) {
String gfsh = (String)map.get("gfsh");
if (org.apache.commons.lang3.StringUtils.isBlank(gfsh)){
return ResponseEntity.ok(R.error(CommonConstants.GFSH_OR_COMPANYCODE_MISS));
}
String skssq = (String)map.get("skssq");
String tjzt = (String)map.get("tjzt");
String qrtjzt = (String)map.get("qrtjzt");

@ -80,7 +80,7 @@
and t.inaccount_status = '1'
and t.company = #{company}
and t.gf_tax_no = #{gfsh}
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
and t.comp_code = #{companyCode}
<if test="sfkrz != '99' and sfkrz != null and sfkrz != '' and sfkrz != 'null' and sfkrz == '1'.toString()">
and t.invoice_status in ('0','7')
and t.invoice_amount>0
@ -411,7 +411,7 @@
and t.export_mark = '0'
and t.company = #{company}
and t.gf_tax_no = #{gfsh}
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
and t.comp_code = #{companyCode}
<if test="sfkrz != '99' and sfkrz != null and sfkrz != '' and sfkrz != 'null' and sfkrz == '1'.toString()">
and t.invoice_status in ('0','7')
and t.invoice_amount>0

Loading…
Cancel
Save