修改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) @PostMapping(URI_INDEX_TASK_REMINDING)
public ResponseEntity<R> getInvoiceTaskReminding(@RequestParam Map<String, Object> pramsMap) { public ResponseEntity<R> getInvoiceTaskReminding(@RequestParam Map<String, Object> pramsMap) {
log.info("任务提醒入参为{}",pramsMap);
log.info("首页-任务提醒,params {}", pramsMap); log.info("首页-任务提醒,params {}", pramsMap);
pramsMap.put("dbName", getUserInfo().getDbName()); pramsMap.put("dbName", getUserInfo().getDbName());
List<String> taxno = getTaxno(); List<String> taxno = getTaxno();

@ -1628,9 +1628,9 @@
</foreach> </foreach>
</if> </if>
and invoice_status != 0 and invoice_status != 0
and t.invoice_type in ('01','03','08','14','31') and invoice_type in ('01','03','08','14','31')
and t.company = #{company} and company = #{company}
and t.invoice_date between #{kpksrq} and #{kpjsrq} and invoice_date between #{kpksrq} and #{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' )-->
<!-- 普票跨年度发票 --> <!-- 普票跨年度发票 -->
@ -1673,9 +1673,9 @@
</if> </if>
and invoice_status != '0' and invoice_status != '0'
and auth_status = '4' and auth_status = '4'
and t.invoice_type in ('01','03','08','14','31') and invoice_type in ('01','03','08','14','31')
and t.company = #{company} and company = #{company}
and t.invoice_date between #{kpksrq} and #{kpjsrq} and invoice_date between #{kpksrq} and #{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,8 +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')
and t.company = #{company} <if test="company != null and company !='' and company != 'null'">
and t.invoice_date between #{kpksrq} and #{kpjsrq} and company = #{company}
</if>
and invoice_date between #{kpksrq} and #{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