修改mapper文件

release
yishiqihuasheng 2 years ago
parent b1de9cd133
commit ccca6499c5
  1. 16
      dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml

@ -1629,8 +1629,8 @@
</if> </if>
and invoice_status != 0 and invoice_status != 0
and invoice_type in ('01','03','08','14','31') and invoice_type in ('01','03','08','14','31')
and company = #{company} and company = #{paramsData.company}
and invoice_date between #{kpksrq} and #{kpjsrq} and invoice_date between #{paramsData.kpksrq} and #{paramsData.kpjsrq}
</select> </select>
<!-- and DATE_FORMAT( status_update_date, '%Y-%m' ) = DATE_FORMAT( now( ), '%Y-%m' )--> <!-- and DATE_FORMAT( status_update_date, '%Y-%m' ) = DATE_FORMAT( now( ), '%Y-%m' )-->
<!-- 普票跨年度发票 --> <!-- 普票跨年度发票 -->
@ -1674,8 +1674,8 @@
and invoice_status != '0' and invoice_status != '0'
and auth_status = '4' and auth_status = '4'
and invoice_type in ('01','03','08','14','31') and invoice_type in ('01','03','08','14','31')
and company = #{company} and company = #{paramsData.company}
and invoice_date between #{kpksrq} and #{kpjsrq} and invoice_date between #{paramsData.kpksrq} and #{paramsData.kpjsrq}
</select> </select>
<!-- and date_format(rzh_date,'%Y-%m') = date_format(now(),'%Y-%m')--> <!-- and date_format(rzh_date,'%Y-%m') = date_format(now(),'%Y-%m')-->
<!-- 签收异常发票 --> <!-- 签收异常发票 -->
@ -1697,10 +1697,10 @@
and invoice_status != '0' and invoice_status != '0'
and qs_status = '1' and qs_status = '1'
and t.invoice_type in ('01','03','08','14','31') and t.invoice_type in ('01','03','08','14','31')
<if test="company != null and company !='' and company != 'null'">
and company = #{company} and company = #{paramsData.company}
</if>
and invoice_date between #{kpksrq} and #{kpjsrq} and invoice_date between #{paramsData.kpksrq} and #{paramsData.kpjsrq}
</select> </select>
<!--&#45;&#45; and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m')--> <!--&#45;&#45; and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m')-->

Loading…
Cancel
Save