海关缴款书综合查询导出和界面

release
yishiqihuasheng 2 years ago
parent 10b52ba8d4
commit bdd3e57992
  1. 5
      dxhy-core/src/main/java/com/dxhy/core/service/export/impl/JkszhcxServiceImpl.java
  2. 11
      dxhy-core/src/main/resources/mapper/JkszhcxMapper.xml
  3. 2
      dxhy-customs/src/main/java/com/dxhy/customs/service/impl/CustomsCustomsJkszhcxServiceImpl.java
  4. 8
      dxhy-customs/src/main/resources/mapper/CustomsJkszhcxMapper.xml

@ -86,6 +86,11 @@ public class JkszhcxServiceImpl extends MpBaseServiceImpl<JkszhcxDao, JkszhcxRes
}
pageList.get(i)
.setGlzt(dictdetaServcice.queryDictName(DictConstant.GLZT, pageList.get(i).getGlzt()));
if("1".equals(pageList.get(i).getInAccountStatus())){
pageList.get(i).setInAccountStatus("已入账");
}else {
pageList.get(i).setInAccountStatus("未入账");
}
}
}
json.put("datalist", pageList);

@ -26,6 +26,14 @@
<result column="rzh_belong_date" property="rzhBelongDate"/>
<result column="glzt" property="glzt"/>
<result column="dept_name" property="businessName"/>
<result column="inaccount_status" property="inAccountStatus"/>
<result column="sn_voucher_number" property="snVoucherNumber"/>
<result column="image_id" property="imageId"/>
<result column="posting_time" property="postingTime"/>
<result column="account_period" property="accountPeriod"/>
<result column="bzdh" property="bzdh"/>
<result column="bzr" property="bzr"/>
<result column="comp_code" property="comp_code"/>
</resultMap>
<select id="selectByPramsMap" parameterType="java.util.Map"
@ -34,7 +42,8 @@
t.id,t.customs_code,DATE_FORMAT(t.fill_in_date,'%Y-%m-%d')
fill_in_date,t.gf_tax_no,t.gf_name,t.tax_amount,t.yx_tax_amount,t.audit_status,t.apply_check,t.check_status,t.qs_status,
DATE_FORMAT(t.qs_date,'%Y-%m-%d') qs_date,t.qs_type,t.qs_user,DATE_FORMAT(t.rzh_date,'%Y-%m-%d') rzh_date,
t.rzh_yesorno,t.auth_status,t.bdk_status,t.confirm_user,t.rzh_belong_date,t.glzt,t.dept_name
t.rzh_yesorno,t.auth_status,t.bdk_status,t.confirm_user,t.rzh_belong_date,t.glzt,t.dept_name,t.inaccount_status,
t.sn_voucher_number,t.image_id,t.posting_time,t.account_period,t.bzdh,t.bzr,tcomp_code
from t_dx_customs_record t
where export_mark = '0' and t.gf_tax_no = #{gfsh}
<if test="companyCode != null and companyCode != '' and companyCode != 'null'">

@ -119,7 +119,7 @@ public class CustomsCustomsJkszhcxServiceImpl extends MpBaseServiceImpl<CustomsJ
String inaccountStatus = pageList.get(i).getInAccountStatus();
if ("1".equals(inaccountStatus)){
pageList.get(i).setInAccountStatus("已入账");
}else if ("0".equals(inaccountStatus)) {
}else {
pageList.get(i).setInAccountStatus("未入账");
}
String auditStatus = pageList.get(i).getAuditStatus();

@ -57,8 +57,8 @@
<if test="bzdh != null and bzdh != '' and bzdh != 'null'">
and t.bzdh = #{bzdh}
</if>
<if test="inaccountStatus != null and inaccountStatus != '' and inaccountStatus != 'null' and inaccountStatus != '99' ">
and t.inaccount_status = #{inaccountStatus}
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' ">
and t.inaccount_status = #{inAccountStatus}
</if>
<if test="customsCode != null and customsCode != '' and customsCode != 'null'">
and t.customs_code = #{customsCode}
@ -222,8 +222,8 @@
<if test="bzdh != null and bzdh != '' and bzdh != 'null'">
and t.bzdh = #{bzdh}
</if>
<if test="inaccountStatus != null and inaccountStatus != '' and inaccountStatus != 'null' and inaccountStatus != '99' ">
and t.inaccount_status = #{inaccountStatus}
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' ">
and t.inaccount_status = #{inAccountStatus}
</if>
<if
test="fillInStartDate != null and fillInEndDate != null and fillInStartDate != '' and fillInEndDate != ''">

Loading…
Cancel
Save