手工认证和认证查询修改没有税号公司需要上级权限问题

release
yishiqihuasheng 2 years ago
parent 95272acd4d
commit 6c99549ada
  1. 27
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -216,13 +216,13 @@
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> <if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'">
and t.account_period = #{accountPeriod} and t.account_period = #{accountPeriod}
</if> </if>
<if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'"> <!-- <if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'">-->
order by t.qs_date desc,t.invoice_date desc <!-- order by t.qs_date desc,t.invoice_date desc-->
</if> <!-- </if>-->
<if test="qsksrq==null or qsksrq=='' or qsjsrq==null or qsjsrq==''"> <!-- <if test="qsksrq==null or qsksrq=='' or qsjsrq==null or qsjsrq==''">-->
order by t.invoice_date desc <!-- order by t.invoice_date desc-->
</if> <!-- </if>-->
order by t.bzdh desc
</select> </select>
<select id="selectDksh" parameterType="java.util.Map" <select id="selectDksh" parameterType="java.util.Map"
resultType="com.dxhy.base.entity.BaseTDxDkCount" resultType="com.dxhy.base.entity.BaseTDxDkCount"
@ -540,6 +540,19 @@
<if test="eleInvoiceNo!=null and eleInvoiceNo!='' and eleInvoiceNo!='null'"> <if test="eleInvoiceNo!=null and eleInvoiceNo!='' and eleInvoiceNo!='null'">
and t.ele_invoice_no = #{eleInvoiceNo} and t.ele_invoice_no = #{eleInvoiceNo}
</if> </if>
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'">
and t.sn_voucher_number = #{snVoucherNumber}
</if>
<if test="postingTimeStart != null and postingTimeStart != '' and postingTimeStart != 'null' and postingTimeStart != '99' and postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99'">
and t.posting_time between #{postingTimeStart} and #{postingTimeEnd}
</if>
<if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'">
and t.image_id = #{imageNumber}
</if>
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'">
and t.account_period = #{accountPeriod}
</if>
order by t.bzdh desc
</select> </select>
<select id="selectHj" parameterType="java.util.Map" <select id="selectHj" parameterType="java.util.Map"

Loading…
Cancel
Save