From 1a8099a175ab464f34a08dbb043449f96f132810 Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 5 Aug 2024 18:53:44 +0800 Subject: [PATCH] md --- .../EmisSettleInvoiceRecordController.java | 41 +++++++++++++++++++ .../emis/domain/EmisSettleInvoiceRecord.java | 9 ++-- .../mapper/EmisSettleInvoiceRecordMapper.java | 3 ++ .../IEmisSettleInvoiceRecordService.java | 9 ++++ .../EmisSettleInvoiceRecordServiceImpl.java | 28 ++++++++++++- .../resources/mapper/EmisPrintTplMapper.xml | 2 +- .../EmisSettleInvoiceChRecordMapper.xml | 4 ++ .../mapper/EmisSettleInvoiceRecordMapper.xml | 23 ++++++++--- 8 files changed, 109 insertions(+), 10 deletions(-) diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceRecordController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceRecordController.java index b6e96924a..12bbd1d6c 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceRecordController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceRecordController.java @@ -152,4 +152,45 @@ public class EmisSettleInvoiceRecordController extends BaseController { return toAjax(emisSettleInvoiceRecordService.deleteEmisSettleInvoiceRecordByIds(ids)); } + + /** + * 中心审核驳回 + */ +// @PreAuthorize("@ss.hasPermi('emis:emisWaybillAjustApply:centerNoPass')") + @Log(title = "中心驳回", businessType = BusinessType.UPDATE) + @PostMapping("/auditCenterNoPass/{ids}") + public AjaxResult auditCenterNoPass(@PathVariable Long[] ids, @RequestBody EmisSettleInvoiceRecord spr) + { + if(ids!=null && ids.length>0){ + for(int i=0;i and create_site like concat('%', #{createSite}, '%') and update_site like concat('%', #{updateSite}, '%') - order by create_time desc + order by order_num desc @@ -118,13 +119,13 @@ @@ -183,7 +184,7 @@ @@ -224,6 +225,7 @@ audit_date, audit_man_code, audit_site_code, + audit_note, op_man_code, op_date, op_site_code, @@ -273,6 +275,7 @@ #{auditDate}, #{auditManCode}, #{auditSiteCode}, + #{auditNote}, #{opManCode}, #{opDate}, #{opSiteCode}, @@ -325,6 +328,7 @@ audit_date = #{auditDate}, audit_man_code = #{auditManCode}, audit_site_code = #{auditSiteCode}, + audit_note = #{auditNote}, op_man_code = #{opManCode}, op_date = #{opDate}, op_site_code = #{opSiteCode}, @@ -343,8 +347,17 @@ where id = #{id} + + update emis_settle_invoice_record + set bl_audit='2',audit_note = #{auditNote},audit_date=now(), + audit_man_code = #{auditManCode}, + audit_site_code = #{auditSiteCode} + where id = #{id} + + + - delete from emis_settle_invoice_record where id = #{id} + update emis_settle_invoice_record where id = #{id}