缴款书签收查询

release
yishiqihuasheng 2 years ago
parent f99b4b15c3
commit 522c44eef4
  1. 2
      dxhy-customs/src/main/java/com/dxhy/customs/service/impl/CustomsSignServiceImpl.java
  2. 10
      dxhy-customs/src/main/resources/mapper/CustomsRecordMapper.xml

@ -84,7 +84,7 @@ public class CustomsSignServiceImpl extends MpBaseServiceImpl<CustomsRecordDao,
JSONObject tabulateMenu = tabulateRedisService.getTabulateMenu(userInfo.getCompany(), entity.getMenuId());
resultData.putTabulateMenu(tabulateMenu);
if (entity.getGfTaxNo() == null && CollectionUtils.isEmpty(entity.getGfTaxNoList())) {
if (org.apache.commons.lang3.StringUtils.isBlank(entity.getGfsh())) {
return resultData.getPageData(null).toJsonBase();
}

@ -768,8 +768,8 @@
FROM
t_dx_customs_record t
where t.qs_status = '0'
and t.gf_tax_no = #{gfsh}
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
and t.gf_tax_no = #{queryParams.gfsh}
and (t.comp_code = #{queryParams.companyCode} or t.comp_code = '' or t.comp_code is null)
and t.export_mark = '0'
and (t.data_sources = '0' or (t.data_sources != '0' and t.collect_upload_status = '2'))
<if test="queryParams.fillInDateBegin!=null and queryParams.fillInDateBegin!=''">
@ -994,9 +994,9 @@
r.comp_code as compCode
FROM
t_dx_customs t left join t_dx_customs_record r on t.customs_code = r.customs_code
where r.gf_tax_no = #{gfsh}
and (r.comp_code = #{companyCode} or r.comp_code = '' or r.comp_code is null)
t.user_account = #{queryParams.userAccount}
where r.gf_tax_no = #{queryParams.gfsh}
and (r.comp_code = #{queryParams.companyCode} or r.comp_code = '' or r.comp_code is null)
and t.user_account = #{queryParams.userAccount}
<if test="queryParams.qsDateBegin!=null and queryParams.qsDateBegin!=''">
and t.qs_date &gt;= #{queryParams.qsDateBegin}
</if>

Loading…
Cancel
Save