修改mapper文件

release
yishiqihuasheng 2 years ago
parent 78a30b6903
commit b1de9cd133
  1. 1
      dxhy-extend/src/main/java/com/dxhy/extend/controller/ExtIndexController.java
  2. 18
      dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml

@ -238,6 +238,7 @@ public class ExtIndexController extends AbstractController {
@PostMapping(URI_INDEX_TASK_REMINDING)
public ResponseEntity<R> getInvoiceTaskReminding(@RequestParam Map<String, Object> pramsMap) {
log.info("任务提醒入参为{}",pramsMap);
log.info("首页-任务提醒,params {}", pramsMap);
pramsMap.put("dbName", getUserInfo().getDbName());
List<String> taxno = getTaxno();

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

Loading…
Cancel
Save