ariesy 缴款书签收查询

release
yefei 2 years ago
parent fe741b8bba
commit d0a5c724e4
  1. 22
      dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml

@ -1037,11 +1037,11 @@
FROM
t_dx_customs t inner join t_dx_customs_record r on t.customs_code = r.customs_code
where t.user_account = #{queryParams.userAccount}
<if test="gfsh!=null">
<if test="queryParams.gfsh!=null">
and t.gf_tax_no =#{queryParams.gfsh}
</if>
<if test="companyCode!=null">
and t.comp_code =#{companyCode}
<if test="queryParams.companyCode!=null">
and t.comp_code =#{queryParams.companyCode}
</if>
<if test="queryParams.qsDateBegin!=null and queryParams.qsDateBegin!=''">
@ -1121,11 +1121,11 @@
FROM
t_dx_customs t inner join t_dx_customs_record r on t.customs_code = r.customs_code
where t.user_account = #{queryParams.userAccount}
<if test="gfsh!=null">
and t.gf_tax_no =#{gfsh}
<if test="queryParams.gfsh!=null">
and t.gf_tax_no =#{queryParams.gfsh}
</if>
<if test="companyCode!=null">
and t.comp_code =#{companyCode}
<if test="queryParams.companyCode!=null">
and t.comp_code =#{queryParams.companyCode}
</if>
<if test="queryParams.qsDateBegin!=null and queryParams.qsDateBegin!=''">
@ -1218,12 +1218,12 @@
</select>
<sql id="queryCustomsRefundConfirm_sql">
auth_status != '0' and (rzlx = '2' or rzlx = '3')
<if test="gfsh!=null">
and gf_tax_no = #{gfsh}
<if test="queryParams.gfsh!=null">
and gf_tax_no = #{queryParams.gfsh}
</if>
<if test="companyCode!=null">
and comp_code = #{companyCode}
<if test="queryParams.companyCode!=null">
and comp_code = #{queryParams.companyCode}
</if>
<if test="queryParams.customsCode!=null and queryParams.customsCode!=''">
and customs_code = #{queryParams.customsCode}

Loading…
Cancel
Save