From 5f409dfdf74cf574f5064a1fcbe7ec199a1f4d3d Mon Sep 17 00:00:00 2001 From: yanyang Date: Thu, 23 Feb 2023 14:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E8=A3=85=E7=AE=B1=E5=9F=BA=E6=9D=BF?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/WoPackagingBoxController.java | 2 +- .../WoPackagingBoxSubstrateController.java | 2 +- .../generator/code/dto/WoPackagingBoxDTO.java | 7 +- .../code/dto/WoPackagingBoxSubstrateDTO.java | 101 ++++++++++++- .../generator/code/entity/WoPackagingBox.java | 9 +- .../code/entity/WoPackagingBoxSubstrate.java | 136 +++++++++++++++++- .../code/excel/WoPackagingBoxExcel.java | 6 +- .../excel/WoPackagingBoxSubstrateExcel.java | 68 ++++++++- .../code/mapper/WoPackagingBoxMapper.java | 2 +- .../code/mapper/WoPackagingBoxMapper.xml | 1 + .../mapper/WoPackagingBoxSubstrateMapper.java | 2 +- .../mapper/WoPackagingBoxSubstrateMapper.xml | 33 +++++ .../mysql/WoPackagingBoxSubstratemysql.sql | 12 +- .../code/mysql/WoPackagingBoxmysql.sql | 12 +- .../service/WoPackagingBoxServiceBiz.java | 2 +- .../WoPackagingBoxSubstrateServiceBiz.java | 2 +- .../impl/WoPackagingBoxServiceBizImpl.java | 2 +- ...WoPackagingBoxSubstrateServiceBizImpl.java | 2 +- .../ChangePackagingBoxHistoryController.java | 8 +- .../controller/PrintModelController.java | 6 +- .../WoCompensationPowerController.java | 10 +- .../controller/WoPackagingBoxController.java | 10 +- .../WoPackagingBoxSubstrateController.java | 22 +-- .../WoPackagingPrintHistoryController.java | 14 +- .../controller/WoPowerLevelController.java | 10 +- .../cnbm/packing/dto/WoPackagingBoxDTO.java | 3 + .../dto/WoPackagingBoxSubstrateDTO.java | 99 +++++++++++++ .../cnbm/packing/entity/WoPackagingBox.java | 5 + .../entity/WoPackagingBoxSubstrate.java | 135 +++++++++++++++++ .../packing/excel/WoPackagingBoxExcel.java | 2 + .../excel/WoPackagingBoxSubstrateExcel.java | 67 +++++++++ ...WoPackagingBoxSubstrateServiceBizImpl.java | 18 +-- .../resources/mapper/WoPackagingBoxMapper.xml | 1 + .../mapper/WoPackagingBoxSubstrateMapper.xml | 33 +++++ 34 files changed, 766 insertions(+), 78 deletions(-) diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxController.java b/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxController.java index 8dece49..e867640 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxController.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxController.java @@ -31,7 +31,7 @@ import java.util.Map; * 包装箱表 前端控制器 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @RestController @RequestMapping("/code/woPackagingBox") diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxSubstrateController.java b/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxSubstrateController.java index 39796ba..eea44fe 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxSubstrateController.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/controller/WoPackagingBoxSubstrateController.java @@ -31,7 +31,7 @@ import java.util.Map; * 包装箱基板关联表 ( 基板表 ) 前端控制器 * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @RestController @RequestMapping("/code/woPackagingBoxSubstrate") diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxDTO.java b/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxDTO.java index fedf84a..9e632c6 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxDTO.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxDTO.java @@ -14,7 +14,7 @@ import java.math.BigDecimal; * 包装箱表 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @Data @ApiModel(value = "包装箱表DTO对象") @@ -26,7 +26,7 @@ public class WoPackagingBoxDTO implements Serializable { @ApiModelProperty(value = "ID") private Long id; - @ApiModelProperty(value = "订单ID") + @ApiModelProperty(value = "订单ID(舍弃)") private Long orderId; @ApiModelProperty(value = "工单ID(舍弃啊)") @@ -110,4 +110,7 @@ public class WoPackagingBoxDTO implements Serializable { @ApiModelProperty(value = "是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @ApiModelProperty(value = "订单号") + private String orderNum; + } \ No newline at end of file diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxSubstrateDTO.java b/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxSubstrateDTO.java index 2e7569f..0b9260b 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxSubstrateDTO.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/dto/WoPackagingBoxSubstrateDTO.java @@ -14,7 +14,7 @@ import java.math.BigDecimal; * 包装箱基板关联表 ( 基板表 ) * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @Data @ApiModel(value = "包装箱基板关联表 ( 基板表 )DTO对象") @@ -71,4 +71,103 @@ public class WoPackagingBoxSubstrateDTO implements Serializable { @ApiModelProperty(value = "功率等级") private String powerLevel; + @ApiModelProperty(value = "") + private LocalDateTime lastUpdateTime; + + @ApiModelProperty(value = "补偿pmpp") + private Float pmpp; + + @ApiModelProperty(value = "订单名") + private String orderName; + + @ApiModelProperty(value = "") + private Long binclassFl1; + + @ApiModelProperty(value = "") + private Long binclassFl2; + + @ApiModelProperty(value = "") + private Float etaFl1; + + @ApiModelProperty(value = "") + private Float etaFl2; + + @ApiModelProperty(value = "") + private Float ffFl1; + + @ApiModelProperty(value = "") + private Float ffFl2; + + @ApiModelProperty(value = "") + private Float imppFl1; + + @ApiModelProperty(value = "") + private Float imppFl2; + + @ApiModelProperty(value = "") + private Float insolflashcontrolFl1; + + @ApiModelProperty(value = "") + private Float insolflashcontrolFl2; + + @ApiModelProperty(value = "") + private Float insolmppFl1; + + @ApiModelProperty(value = "") + private Float insolmppFl2; + + @ApiModelProperty(value = "") + private Float insolvocFl1; + + @ApiModelProperty(value = "") + private Float insolvocFl2; + + @ApiModelProperty(value = "") + private Float insolFl1; + + @ApiModelProperty(value = "") + private Float insolFl2; + + @ApiModelProperty(value = "") + private Float iscFl1; + + @ApiModelProperty(value = "") + private Float iscFl2; + + @ApiModelProperty(value = "") + private LocalDateTime measTimeFl1; + + @ApiModelProperty(value = "") + private LocalDateTime measTimeFl2; + + @ApiModelProperty(value = "") + private Float pmppFl1; + + @ApiModelProperty(value = "") + private Float pmppFl2; + + @ApiModelProperty(value = "") + private Float tcellFl1; + + @ApiModelProperty(value = "") + private Float tcellFl2; + + @ApiModelProperty(value = "") + private Float tmonicellFl1; + + @ApiModelProperty(value = "") + private Float tmonicellFl2; + + @ApiModelProperty(value = "") + private Float umppFl1; + + @ApiModelProperty(value = "") + private Float umppFl2; + + @ApiModelProperty(value = "") + private Float uocFl1; + + @ApiModelProperty(value = "") + private Float uocFl2; + } \ No newline at end of file diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBox.java b/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBox.java index caed2b2..1a9b6ab 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBox.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBox.java @@ -14,7 +14,7 @@ import lombok.Data; *

* * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @Data @TableName("t_wo_packaging_box") @@ -26,7 +26,7 @@ public class WoPackagingBox implements Serializable { @ApiModelProperty("ID") private Long id; - @ApiModelProperty("订单ID") + @ApiModelProperty("订单ID(舍弃)") private Long orderId; @ApiModelProperty("工单ID(舍弃啊)") @@ -111,6 +111,9 @@ public class WoPackagingBox implements Serializable { @ApiModelProperty("是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @ApiModelProperty("订单号") + private String orderNum; + public static final String ID = "ID"; @@ -170,4 +173,6 @@ public class WoPackagingBox implements Serializable { public static final String IS_ARRIVED = "is_arrived"; + public static final String ORDER_NUM = "ORDER_NUM"; + } diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBoxSubstrate.java b/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBoxSubstrate.java index da3c388..8fa1069 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBoxSubstrate.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/entity/WoPackagingBoxSubstrate.java @@ -14,7 +14,7 @@ import lombok.Data; *

* * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @Data @TableName("t_wo_packaging_box_substrate") @@ -72,6 +72,74 @@ public class WoPackagingBoxSubstrate implements Serializable { @ApiModelProperty("功率等级") private String powerLevel; + private LocalDateTime lastUpdateTime; + + @ApiModelProperty("补偿pmpp") + private Float pmpp; + + @ApiModelProperty("订单名") + private String orderName; + + private Long binclassFl1; + + private Long binclassFl2; + + private Float etaFl1; + + private Float etaFl2; + + private Float ffFl1; + + private Float ffFl2; + + private Float imppFl1; + + private Float imppFl2; + + private Float insolflashcontrolFl1; + + private Float insolflashcontrolFl2; + + private Float insolmppFl1; + + private Float insolmppFl2; + + private Float insolvocFl1; + + private Float insolvocFl2; + + private Float insolFl1; + + private Float insolFl2; + + private Float iscFl1; + + private Float iscFl2; + + private LocalDateTime measTimeFl1; + + private LocalDateTime measTimeFl2; + + private Float pmppFl1; + + private Float pmppFl2; + + private Float tcellFl1; + + private Float tcellFl2; + + private Float tmonicellFl1; + + private Float tmonicellFl2; + + private Float umppFl1; + + private Float umppFl2; + + private Float uocFl1; + + private Float uocFl2; + public static final String ID = "ID"; @@ -105,4 +173,70 @@ public class WoPackagingBoxSubstrate implements Serializable { public static final String POWER_LEVEL = "POWER_LEVEL"; + public static final String LAST_UPDATE_TIME = "LAST_UPDATE_TIME"; + + public static final String PMPP = "PMPP"; + + public static final String ORDER_NAME = "ORDER_NAME"; + + public static final String BINCLASS_FL1 = "BINCLASS_FL1"; + + public static final String BINCLASS_FL2 = "BINCLASS_FL2"; + + public static final String ETA_FL1 = "ETA_FL1"; + + public static final String ETA_FL2 = "ETA_FL2"; + + public static final String FF_FL1 = "FF_FL1"; + + public static final String FF_FL2 = "FF_FL2"; + + public static final String IMPP_FL1 = "IMPP_FL1"; + + public static final String IMPP_FL2 = "IMPP_FL2"; + + public static final String INSOLFLASHCONTROL_FL1 = "InsolFlashControl_FL1"; + + public static final String INSOLFLASHCONTROL_FL2 = "InsolFlashControl_FL2"; + + public static final String INSOLMPP_FL1 = "InsolMPP_FL1"; + + public static final String INSOLMPP_FL2 = "InsolMPP_FL2"; + + public static final String INSOLVOC_FL1 = "InsolVoc_FL1"; + + public static final String INSOLVOC_FL2 = "InsolVoc_FL2"; + + public static final String INSOL_FL1 = "Insol_FL1"; + + public static final String INSOL_FL2 = "Insol_FL2"; + + public static final String ISC_FL1 = "ISC_FL1"; + + public static final String ISC_FL2 = "ISC_FL2"; + + public static final String MEAS_TIME_FL1 = "MEAS_TIME_FL1"; + + public static final String MEAS_TIME_FL2 = "MEAS_TIME_FL2"; + + public static final String PMPP_FL1 = "PMPP_FL1"; + + public static final String PMPP_FL2 = "PMPP_FL2"; + + public static final String TCELL_FL1 = "Tcell_FL1"; + + public static final String TCELL_FL2 = "Tcell_FL2"; + + public static final String TMONICELL_FL1 = "Tmonicell_FL1"; + + public static final String TMONICELL_FL2 = "Tmonicell_FL2"; + + public static final String UMPP_FL1 = "UMPP_FL1"; + + public static final String UMPP_FL2 = "UMPP_FL2"; + + public static final String UOC_FL1 = "UOC_FL1"; + + public static final String UOC_FL2 = "UOC_FL2"; + } diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxExcel.java b/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxExcel.java index 83a31bb..fbaf77b 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxExcel.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxExcel.java @@ -12,13 +12,13 @@ import java.util.Date; * 包装箱表 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @Data public class WoPackagingBoxExcel { @Excel(name = "ID") private Long id; - @Excel(name = "订单ID") + @Excel(name = "订单ID(舍弃)") private Long orderId; @Excel(name = "工单ID(舍弃啊)") private Long workOrderId; @@ -74,5 +74,7 @@ public class WoPackagingBoxExcel { private Integer model; @Excel(name = "是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @Excel(name = "订单号") + private String orderNum; } \ No newline at end of file diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxSubstrateExcel.java b/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxSubstrateExcel.java index c2758ae..7c09063 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxSubstrateExcel.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/excel/WoPackagingBoxSubstrateExcel.java @@ -12,7 +12,7 @@ import java.util.Date; * 包装箱基板关联表 ( 基板表 ) * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @Data public class WoPackagingBoxSubstrateExcel { @@ -48,5 +48,71 @@ public class WoPackagingBoxSubstrateExcel { private Integer lineBody; @Excel(name = "功率等级") private String powerLevel; + @Excel(name = "") + private LocalDateTime lastUpdateTime; + @Excel(name = "补偿pmpp") + private Float pmpp; + @Excel(name = "订单名") + private String orderName; + @Excel(name = "") + private Long binclassFl1; + @Excel(name = "") + private Long binclassFl2; + @Excel(name = "") + private Float etaFl1; + @Excel(name = "") + private Float etaFl2; + @Excel(name = "") + private Float ffFl1; + @Excel(name = "") + private Float ffFl2; + @Excel(name = "") + private Float imppFl1; + @Excel(name = "") + private Float imppFl2; + @Excel(name = "") + private Float insolflashcontrolFl1; + @Excel(name = "") + private Float insolflashcontrolFl2; + @Excel(name = "") + private Float insolmppFl1; + @Excel(name = "") + private Float insolmppFl2; + @Excel(name = "") + private Float insolvocFl1; + @Excel(name = "") + private Float insolvocFl2; + @Excel(name = "") + private Float insolFl1; + @Excel(name = "") + private Float insolFl2; + @Excel(name = "") + private Float iscFl1; + @Excel(name = "") + private Float iscFl2; + @Excel(name = "") + private LocalDateTime measTimeFl1; + @Excel(name = "") + private LocalDateTime measTimeFl2; + @Excel(name = "") + private Float pmppFl1; + @Excel(name = "") + private Float pmppFl2; + @Excel(name = "") + private Float tcellFl1; + @Excel(name = "") + private Float tcellFl2; + @Excel(name = "") + private Float tmonicellFl1; + @Excel(name = "") + private Float tmonicellFl2; + @Excel(name = "") + private Float umppFl1; + @Excel(name = "") + private Float umppFl2; + @Excel(name = "") + private Float uocFl1; + @Excel(name = "") + private Float uocFl2; } \ No newline at end of file diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.java b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.java index ca1bf93..e1a64d2 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.java @@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper; * 包装箱表 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @Mapper public interface WoPackagingBoxMapper extends BaseDao { diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.xml b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.xml index b96704f..d72ca97 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.xml +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxMapper.xml @@ -31,6 +31,7 @@ + diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.java b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.java index 59c2fee..9d97c6d 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.java @@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper; * 包装箱基板关联表 ( 基板表 ) * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @Mapper public interface WoPackagingBoxSubstrateMapper extends BaseDao { diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.xml b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.xml index 61a5420..e9ff4f2 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.xml +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mapper/WoPackagingBoxSubstrateMapper.xml @@ -18,6 +18,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxSubstratemysql.sql b/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxSubstratemysql.sql index f3b3d2f..ad3610b 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxSubstratemysql.sql +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxSubstratemysql.sql @@ -1,7 +1,7 @@ -- 菜单初始SQL -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627855073022648322, 1067246875800000035, '包装箱基板关联表 ( 基板表 )', 'packing/woPackagingBoxSubstrate', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648323, 1627855073022648322, '查看', NULL, 'packing:woPackagingBoxSubstrate:page,packing:woPackagingBoxSubstrate:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648324, 1627855073022648322, '新增', NULL, 'packing:woPackagingBoxSubstrate:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648325, 1627855073022648322, '修改', NULL, 'packing:woPackagingBoxSubstrate:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648326, 1627855073022648322, '删除', NULL, 'packing:woPackagingBoxSubstrate:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648327, 1627855073022648322, '导出', NULL, 'packing:woPackagingBoxSubstrate:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1628638869145812994, 1067246875800000035, '包装箱基板关联表 ( 基板表 )', 'code/woPackagingBoxSubstrate', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628638869145812995, 1628638869145812994, '查看', NULL, 'code:woPackagingBoxSubstrate:page,code:woPackagingBoxSubstrate:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628638869145812996, 1628638869145812994, '新增', NULL, 'code:woPackagingBoxSubstrate:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628638869145812997, 1628638869145812994, '修改', NULL, 'code:woPackagingBoxSubstrate:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628638869145812998, 1628638869145812994, '删除', NULL, 'code:woPackagingBoxSubstrate:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628638869145812999, 1628638869145812994, '导出', NULL, 'code:woPackagingBoxSubstrate:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now()); diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxmysql.sql b/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxmysql.sql index fbc5955..621ad8a 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxmysql.sql +++ b/ym-generator/src/main/java/com/cnbm/generator/code/mysql/WoPackagingBoxmysql.sql @@ -1,7 +1,7 @@ -- 菜单初始SQL -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1628230581925277697, 1067246875800000035, '包装箱表', 'code/woPackagingBox', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277698, 1628230581925277697, '查看', NULL, 'code:woPackagingBox:page,code:woPackagingBox:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277699, 1628230581925277697, '新增', NULL, 'code:woPackagingBox:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277700, 1628230581925277697, '修改', NULL, 'code:woPackagingBox:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277701, 1628230581925277697, '删除', NULL, 'code:woPackagingBox:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now()); -INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277702, 1628230581925277697, '导出', NULL, 'code:woPackagingBox:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1628589985438695426, 1067246875800000035, '包装箱表', 'code/woPackagingBox', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628589985438695427, 1628589985438695426, '查看', NULL, 'code:woPackagingBox:page,code:woPackagingBox:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628589985438695428, 1628589985438695426, '新增', NULL, 'code:woPackagingBox:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628589985438695429, 1628589985438695426, '修改', NULL, 'code:woPackagingBox:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628589985438695430, 1628589985438695426, '删除', NULL, 'code:woPackagingBox:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now()); +INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628589985438695431, 1628589985438695426, '导出', NULL, 'code:woPackagingBox:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now()); diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxServiceBiz.java b/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxServiceBiz.java index bc7e126..201012c 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxServiceBiz.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxServiceBiz.java @@ -8,7 +8,7 @@ import com.cnbm.generator.code.entity.WoPackagingBox; * 包装箱表 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ public interface WoPackagingBoxServiceBiz extends CrudService { diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxSubstrateServiceBiz.java b/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxSubstrateServiceBiz.java index c945274..0bfff60 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxSubstrateServiceBiz.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/service/WoPackagingBoxSubstrateServiceBiz.java @@ -8,7 +8,7 @@ import com.cnbm.generator.code.entity.WoPackagingBoxSubstrate; * 包装箱基板关联表 ( 基板表 ) * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ public interface WoPackagingBoxSubstrateServiceBiz extends CrudService { diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxServiceBizImpl.java b/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxServiceBizImpl.java index 9a742c7..7046fe8 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxServiceBizImpl.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxServiceBizImpl.java @@ -15,7 +15,7 @@ import java.util.Map; * 包装箱表 * * @author codeGenerator - * @since 2023-02-22 + * @since 2023-02-23 */ @Service public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl implements WoPackagingBoxServiceBiz { diff --git a/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java b/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java index 93af080..530258a 100644 --- a/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java +++ b/ym-generator/src/main/java/com/cnbm/generator/code/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java @@ -15,7 +15,7 @@ import java.util.Map; * 包装箱基板关联表 ( 基板表 ) * * @author codeGenerator - * @since 2023-02-21 + * @since 2023-02-23 */ @Service public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl implements WoPackagingBoxSubstrateServiceBiz { diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/ChangePackagingBoxHistoryController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/ChangePackagingBoxHistoryController.java index 42032d9..22d8006 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/ChangePackagingBoxHistoryController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/ChangePackagingBoxHistoryController.java @@ -70,7 +70,7 @@ public class ChangePackagingBoxHistoryController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:save')") public Result save(@RequestBody ChangePackagingBoxHistoryDTO dto){ //效验数据 @@ -83,7 +83,7 @@ public class ChangePackagingBoxHistoryController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:update')") public Result update(@RequestBody ChangePackagingBoxHistoryDTO dto){ //效验数据 @@ -96,7 +96,7 @@ public class ChangePackagingBoxHistoryController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -109,7 +109,7 @@ public class ChangePackagingBoxHistoryController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = changePackagingBoxHistoryService.list(params); diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/PrintModelController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/PrintModelController.java index 79a2550..14e4696 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/PrintModelController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/PrintModelController.java @@ -82,7 +82,7 @@ public class PrintModelController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:printModel:update')") public Result update(@RequestBody PrintModelDTO dto){ //效验数据 @@ -95,7 +95,7 @@ public class PrintModelController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:printModel:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -108,7 +108,7 @@ public class PrintModelController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:printModel:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = printModelService.list(params); diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/WoCompensationPowerController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/WoCompensationPowerController.java index f451967..35d31cc 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/WoCompensationPowerController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/WoCompensationPowerController.java @@ -67,7 +67,7 @@ public class WoCompensationPowerController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:save')") public Result save(@RequestBody WoCompensationPowerDTO dto){ //效验数据 @@ -80,7 +80,7 @@ public class WoCompensationPowerController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:update')") public Result update(@RequestBody WoCompensationPowerDTO dto){ //效验数据 @@ -93,7 +93,7 @@ public class WoCompensationPowerController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -106,7 +106,7 @@ public class WoCompensationPowerController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = woCompensationPowerService.list(params); @@ -116,7 +116,7 @@ public class WoCompensationPowerController { @PostMapping(value = "list") @ApiOperation(value = "获取基板补偿功率") - @LogOperation("获取基板补偿功率") +// @LogOperation("获取基板补偿功率") public List list() { return woCompensationPowerService.list(); } } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxController.java index 841ff2b..cf0db1b 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxController.java @@ -74,7 +74,7 @@ public class WoPackagingBoxController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:save')") public Result save(@RequestBody WoPackagingBoxDTO dto){ //效验数据 @@ -87,7 +87,7 @@ public class WoPackagingBoxController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:update')") public Result update(@RequestBody WoPackagingBoxDTO dto){ //效验数据 @@ -100,7 +100,7 @@ public class WoPackagingBoxController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -113,7 +113,7 @@ public class WoPackagingBoxController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = woPackagingBoxService.list(params); @@ -123,7 +123,7 @@ public class WoPackagingBoxController { @PostMapping(value = "list") @ApiOperation(value = "获取列表") - @LogOperation("获取列表") +// @LogOperation("获取列表") public List list() { return woPackagingBoxService.list(); } } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxSubstrateController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxSubstrateController.java index 2ee2cdb..d593282 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxSubstrateController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxSubstrateController.java @@ -81,7 +81,7 @@ public class WoPackagingBoxSubstrateController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:save')") public Result save(@RequestBody WoPackagingBoxSubstrateDTO dto){ //效验数据 @@ -94,7 +94,7 @@ public class WoPackagingBoxSubstrateController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:update')") public Result update(@RequestBody WoPackagingBoxSubstrateDTO dto){ //效验数据 @@ -107,7 +107,7 @@ public class WoPackagingBoxSubstrateController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -120,7 +120,7 @@ public class WoPackagingBoxSubstrateController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = woPackagingBoxSubstrateService.list(params); @@ -128,10 +128,10 @@ public class WoPackagingBoxSubstrateController { ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxSubstrateExcel.class); } - @PostMapping("removeSubstrate") + @PostMapping("removeSubstrate/{id}") @ApiOperation("移箱") - @LogOperation("移箱") - public Result removeSubstrate(@RequestBody Long id){ +// @LogOperation("移箱") + public Result removeSubstrate(@PathVariable("id") Long id){ woPackagingBoxSubstrateService.removeSubstrate(id); @@ -140,7 +140,7 @@ public class WoPackagingBoxSubstrateController { @PostMapping("insertSubstrate") @ApiOperation("合箱") - @LogOperation("合箱") +// @LogOperation("合箱") public Result insertSubstrate(@RequestBody WoPackagingBoxSubstrateDTO dto){ String woSubstrateId = dto.getWoSubstrateId(); @@ -183,7 +183,7 @@ public class WoPackagingBoxSubstrateController { @PostMapping("replaceSubstrate") @ApiOperation("换箱") - @LogOperation("换箱") +// @LogOperation("换箱") public Result replaceSubstrate(@RequestBody WoPackagingBoxSubstrateDTO[] dtos){ woPackagingBoxSubstrateService.replaceSubstrate(dtos); @@ -193,7 +193,7 @@ public class WoPackagingBoxSubstrateController { @PostMapping("slotValidation") @ApiOperation("slot是否占用验证") - @LogOperation("slot是否占用验证") +// @LogOperation("slot是否占用验证") public boolean slotValidation(@RequestBody WoPackagingBoxSubstrateDTO dto){ QueryWrapper wrapper = new QueryWrapper<>(); @@ -209,7 +209,7 @@ public class WoPackagingBoxSubstrateController { @PostMapping("batchInsert") @ApiOperation("手动装箱") - @LogOperation("手动装箱") +// @LogOperation("手动装箱") public Result batchInsert(@RequestBody WoPackagingBoxSubstrateDTO[] lists){ woPackagingBoxSubstrateService.batchInsert(lists); diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingPrintHistoryController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingPrintHistoryController.java index f07a055..f0ef03c 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingPrintHistoryController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingPrintHistoryController.java @@ -79,7 +79,7 @@ public class WoPackagingPrintHistoryController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:save')") public Result save(@RequestBody WoPackagingPrintHistoryDTO dto){ //效验数据 @@ -92,7 +92,7 @@ public class WoPackagingPrintHistoryController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:update')") public Result update(@RequestBody WoPackagingPrintHistoryDTO dto){ //效验数据 @@ -105,7 +105,7 @@ public class WoPackagingPrintHistoryController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -118,7 +118,7 @@ public class WoPackagingPrintHistoryController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = woPackagingPrintHistoryService.list(params); @@ -126,10 +126,10 @@ public class WoPackagingPrintHistoryController { ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingPrintHistoryExcel.class); } - @PostMapping("print") + @PostMapping("print/{id}") @ApiOperation("打印") - @LogOperation("打印") - public Result print(@RequestBody Long id) { +// @LogOperation("打印") + public Result print(@PathVariable("id") Long id) { WoPackagingBoxDTO woPackagingBox = woPackagingBoxServiceBiz.get(id); diff --git a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPowerLevelController.java b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPowerLevelController.java index e000790..7ef8d19 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/controller/WoPowerLevelController.java +++ b/ym-packing/src/main/java/com/cnbm/packing/controller/WoPowerLevelController.java @@ -67,7 +67,7 @@ public class WoPowerLevelController { @PostMapping @ApiOperation("保存") - @LogOperation("保存") +// @LogOperation("保存") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:save')") public Result save(@RequestBody WoPowerLevelDTO dto){ //效验数据 @@ -80,7 +80,7 @@ public class WoPowerLevelController { @PutMapping @ApiOperation("修改") - @LogOperation("修改") +// @LogOperation("修改") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:update')") public Result update(@RequestBody WoPowerLevelDTO dto){ //效验数据 @@ -93,7 +93,7 @@ public class WoPowerLevelController { @DeleteMapping @ApiOperation("删除") - @LogOperation("删除") +// @LogOperation("删除") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:delete')") public Result delete(@RequestBody Long[] ids){ //效验数据 @@ -106,7 +106,7 @@ public class WoPowerLevelController { @GetMapping("export") @ApiOperation("导出") - @LogOperation("导出") +// @LogOperation("导出") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:export')") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { List list = woPowerLevelService.list(params); @@ -116,7 +116,7 @@ public class WoPowerLevelController { @PostMapping(value = "list") @ApiOperation(value = "获取功率等级") - @LogOperation("获取功率等级") +// @LogOperation("获取功率等级") public List list() { return woPowerLevelService.list(); } } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxDTO.java b/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxDTO.java index 4414625..36b97b7 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxDTO.java +++ b/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxDTO.java @@ -110,4 +110,7 @@ public class WoPackagingBoxDTO implements Serializable { @ApiModelProperty(value = "是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @ApiModelProperty(value = "订单号") + private String orderNum; + } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxSubstrateDTO.java b/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxSubstrateDTO.java index 972e654..b18c004 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxSubstrateDTO.java +++ b/ym-packing/src/main/java/com/cnbm/packing/dto/WoPackagingBoxSubstrateDTO.java @@ -71,4 +71,103 @@ public class WoPackagingBoxSubstrateDTO implements Serializable { @ApiModelProperty(value = "功率等级") private String powerLevel; + @ApiModelProperty(value = "") + private LocalDateTime lastUpdateTime; + + @ApiModelProperty(value = "补偿pmpp") + private Float pmpp; + + @ApiModelProperty(value = "订单名") + private String orderName; + + @ApiModelProperty(value = "") + private Long binclassFl1; + + @ApiModelProperty(value = "") + private Long binclassFl2; + + @ApiModelProperty(value = "") + private Float etaFl1; + + @ApiModelProperty(value = "") + private Float etaFl2; + + @ApiModelProperty(value = "") + private Float ffFl1; + + @ApiModelProperty(value = "") + private Float ffFl2; + + @ApiModelProperty(value = "") + private Float imppFl1; + + @ApiModelProperty(value = "") + private Float imppFl2; + + @ApiModelProperty(value = "") + private Float insolflashcontrolFl1; + + @ApiModelProperty(value = "") + private Float insolflashcontrolFl2; + + @ApiModelProperty(value = "") + private Float insolmppFl1; + + @ApiModelProperty(value = "") + private Float insolmppFl2; + + @ApiModelProperty(value = "") + private Float insolvocFl1; + + @ApiModelProperty(value = "") + private Float insolvocFl2; + + @ApiModelProperty(value = "") + private Float insolFl1; + + @ApiModelProperty(value = "") + private Float insolFl2; + + @ApiModelProperty(value = "") + private Float iscFl1; + + @ApiModelProperty(value = "") + private Float iscFl2; + + @ApiModelProperty(value = "") + private LocalDateTime measTimeFl1; + + @ApiModelProperty(value = "") + private LocalDateTime measTimeFl2; + + @ApiModelProperty(value = "") + private Float pmppFl1; + + @ApiModelProperty(value = "") + private Float pmppFl2; + + @ApiModelProperty(value = "") + private Float tcellFl1; + + @ApiModelProperty(value = "") + private Float tcellFl2; + + @ApiModelProperty(value = "") + private Float tmonicellFl1; + + @ApiModelProperty(value = "") + private Float tmonicellFl2; + + @ApiModelProperty(value = "") + private Float umppFl1; + + @ApiModelProperty(value = "") + private Float umppFl2; + + @ApiModelProperty(value = "") + private Float uocFl1; + + @ApiModelProperty(value = "") + private Float uocFl2; + } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBox.java b/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBox.java index 22d1e59..7060363 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBox.java +++ b/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBox.java @@ -111,6 +111,9 @@ public class WoPackagingBox implements Serializable { @ApiModelProperty("是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @ApiModelProperty("订单号") + private String orderNum; + public static final String ID = "ID"; @@ -170,4 +173,6 @@ public class WoPackagingBox implements Serializable { public static final String IS_ARRIVED = "is_arrived"; + public static final String ORDER_NUM = "ORDER_NUM"; + } diff --git a/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBoxSubstrate.java b/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBoxSubstrate.java index a77be54..fd5ad75 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBoxSubstrate.java +++ b/ym-packing/src/main/java/com/cnbm/packing/entity/WoPackagingBoxSubstrate.java @@ -72,6 +72,74 @@ public class WoPackagingBoxSubstrate implements Serializable { @ApiModelProperty("功率等级") private String powerLevel; + private LocalDateTime lastUpdateTime; + + @ApiModelProperty("补偿pmpp") + private Float pmpp; + + @ApiModelProperty("订单名") + private String orderName; + + private Long binclassFl1; + + private Long binclassFl2; + + private Float etaFl1; + + private Float etaFl2; + + private Float ffFl1; + + private Float ffFl2; + + private Float imppFl1; + + private Float imppFl2; + + private Float insolflashcontrolFl1; + + private Float insolflashcontrolFl2; + + private Float insolmppFl1; + + private Float insolmppFl2; + + private Float insolvocFl1; + + private Float insolvocFl2; + + private Float insolFl1; + + private Float insolFl2; + + private Float iscFl1; + + private Float iscFl2; + + private LocalDateTime measTimeFl1; + + private LocalDateTime measTimeFl2; + + private Float pmppFl1; + + private Float pmppFl2; + + private Float tcellFl1; + + private Float tcellFl2; + + private Float tmonicellFl1; + + private Float tmonicellFl2; + + private Float umppFl1; + + private Float umppFl2; + + private Float uocFl1; + + private Float uocFl2; + public static final String ID = "ID"; @@ -105,4 +173,71 @@ public class WoPackagingBoxSubstrate implements Serializable { public static final String POWER_LEVEL = "POWER_LEVEL"; + public static final String LAST_UPDATE_TIME = "LAST_UPDATE_TIME"; + + public static final String PMPP = "PMPP"; + + public static final String ORDER_NAME = "ORDER_NAME"; + + public static final String BINCLASS_FL1 = "BINCLASS_FL1"; + + public static final String BINCLASS_FL2 = "BINCLASS_FL2"; + + public static final String ETA_FL1 = "ETA_FL1"; + + public static final String ETA_FL2 = "ETA_FL2"; + + public static final String FF_FL1 = "FF_FL1"; + + public static final String FF_FL2 = "FF_FL2"; + + public static final String IMPP_FL1 = "IMPP_FL1"; + + public static final String IMPP_FL2 = "IMPP_FL2"; + + public static final String INSOLFLASHCONTROL_FL1 = "InsolFlashControl_FL1"; + + public static final String INSOLFLASHCONTROL_FL2 = "InsolFlashControl_FL2"; + + public static final String INSOLMPP_FL1 = "InsolMPP_FL1"; + + public static final String INSOLMPP_FL2 = "InsolMPP_FL2"; + + public static final String INSOLVOC_FL1 = "InsolVoc_FL1"; + + public static final String INSOLVOC_FL2 = "InsolVoc_FL2"; + + public static final String INSOL_FL1 = "Insol_FL1"; + + public static final String INSOL_FL2 = "Insol_FL2"; + + public static final String ISC_FL1 = "ISC_FL1"; + + public static final String ISC_FL2 = "ISC_FL2"; + + public static final String MEAS_TIME_FL1 = "MEAS_TIME_FL1"; + + public static final String MEAS_TIME_FL2 = "MEAS_TIME_FL2"; + + public static final String PMPP_FL1 = "PMPP_FL1"; + + public static final String PMPP_FL2 = "PMPP_FL2"; + + public static final String TCELL_FL1 = "Tcell_FL1"; + + public static final String TCELL_FL2 = "Tcell_FL2"; + + public static final String TMONICELL_FL1 = "Tmonicell_FL1"; + + public static final String TMONICELL_FL2 = "Tmonicell_FL2"; + + public static final String UMPP_FL1 = "UMPP_FL1"; + + public static final String UMPP_FL2 = "UMPP_FL2"; + + public static final String UOC_FL1 = "UOC_FL1"; + + public static final String UOC_FL2 = "UOC_FL2"; + + } diff --git a/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxExcel.java b/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxExcel.java index 9eabebb..4b21682 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxExcel.java +++ b/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxExcel.java @@ -74,5 +74,7 @@ public class WoPackagingBoxExcel { private Integer model; @Excel(name = "是否到达包装台,1=到达;2=未达到") private Integer isArrived; + @Excel(name = "订单号") + private String orderNum; } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxSubstrateExcel.java b/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxSubstrateExcel.java index 9649b51..91273b9 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxSubstrateExcel.java +++ b/ym-packing/src/main/java/com/cnbm/packing/excel/WoPackagingBoxSubstrateExcel.java @@ -48,5 +48,72 @@ public class WoPackagingBoxSubstrateExcel { private Integer lineBody; @Excel(name = "功率等级") private String powerLevel; + @Excel(name = "") + private LocalDateTime lastUpdateTime; + @Excel(name = "补偿pmpp") + private Float pmpp; + @Excel(name = "订单名") + private String orderName; + @Excel(name = "") + private Long binclassFl1; + @Excel(name = "") + private Long binclassFl2; + @Excel(name = "") + private Float etaFl1; + @Excel(name = "") + private Float etaFl2; + @Excel(name = "") + private Float ffFl1; + @Excel(name = "") + private Float ffFl2; + @Excel(name = "") + private Float imppFl1; + @Excel(name = "") + private Float imppFl2; + @Excel(name = "") + private Float insolflashcontrolFl1; + @Excel(name = "") + private Float insolflashcontrolFl2; + @Excel(name = "") + private Float insolmppFl1; + @Excel(name = "") + private Float insolmppFl2; + @Excel(name = "") + private Float insolvocFl1; + @Excel(name = "") + private Float insolvocFl2; + @Excel(name = "") + private Float insolFl1; + @Excel(name = "") + private Float insolFl2; + @Excel(name = "") + private Float iscFl1; + @Excel(name = "") + private Float iscFl2; + @Excel(name = "") + private LocalDateTime measTimeFl1; + @Excel(name = "") + private LocalDateTime measTimeFl2; + @Excel(name = "") + private Float pmppFl1; + @Excel(name = "") + private Float pmppFl2; + @Excel(name = "") + private Float tcellFl1; + @Excel(name = "") + private Float tcellFl2; + @Excel(name = "") + private Float tmonicellFl1; + @Excel(name = "") + private Float tmonicellFl2; + @Excel(name = "") + private Float umppFl1; + @Excel(name = "") + private Float umppFl2; + @Excel(name = "") + private Float uocFl1; + @Excel(name = "") + private Float uocFl2; + } \ No newline at end of file diff --git a/ym-packing/src/main/java/com/cnbm/packing/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java b/ym-packing/src/main/java/com/cnbm/packing/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java index 5a710cc..f795930 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java +++ b/ym-packing/src/main/java/com/cnbm/packing/service/impl/WoPackagingBoxSubstrateServiceBizImpl.java @@ -1,6 +1,7 @@ package com.cnbm.packing.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.cnbm.common.page.PageData; import com.cnbm.common.service.impl.CrudServiceImpl; @@ -36,12 +37,6 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -104,9 +99,14 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl wrapper = new UpdateWrapper<>(); + wrapper.set(WoPackagingBoxSubstrate.PACKAGING_BOX_ID,null); + wrapper.set(WoPackagingBoxSubstrate.SLOT,null); + wrapper.eq(WoPackagingBoxSubstrate.ID,entity.getId()); + update(entity,wrapper); +// entity.setPackagingBoxId(""); +// entity.setSlot(null); +// updateById(entity); } @Override diff --git a/ym-packing/src/main/resources/mapper/WoPackagingBoxMapper.xml b/ym-packing/src/main/resources/mapper/WoPackagingBoxMapper.xml index cfc88c0..4d9c792 100644 --- a/ym-packing/src/main/resources/mapper/WoPackagingBoxMapper.xml +++ b/ym-packing/src/main/resources/mapper/WoPackagingBoxMapper.xml @@ -31,6 +31,7 @@ + -- 2.45.2