Merge pull request '包装箱基板更新' (#4) from yanyang into master

Reviewed-on: #4
This commit is contained in:
闫阳 2023-02-23 14:25:47 +08:00
commit 2cd68b93bf
34 changed files with 766 additions and 78 deletions

View File

@ -31,7 +31,7 @@ import java.util.Map;
* 包装箱表 前端控制器 * 包装箱表 前端控制器
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@RestController @RestController
@RequestMapping("/code/woPackagingBox") @RequestMapping("/code/woPackagingBox")

View File

@ -31,7 +31,7 @@ import java.util.Map;
* 包装箱基板关联表 ( 基板表 ) 前端控制器 * 包装箱基板关联表 ( 基板表 ) 前端控制器
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@RestController @RestController
@RequestMapping("/code/woPackagingBoxSubstrate") @RequestMapping("/code/woPackagingBoxSubstrate")

View File

@ -14,7 +14,7 @@ import java.math.BigDecimal;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@Data @Data
@ApiModel(value = "包装箱表DTO对象") @ApiModel(value = "包装箱表DTO对象")
@ -26,7 +26,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "ID") @ApiModelProperty(value = "ID")
private Long id; private Long id;
@ApiModelProperty(value = "订单ID") @ApiModelProperty(value = "订单ID(舍弃)")
private Long orderId; private Long orderId;
@ApiModelProperty(value = "工单ID舍弃啊") @ApiModelProperty(value = "工单ID舍弃啊")
@ -110,4 +110,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "是否到达包装台1=到达2=未达到") @ApiModelProperty(value = "是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@ApiModelProperty(value = "订单号")
private String orderNum;
} }

View File

@ -14,7 +14,7 @@ import java.math.BigDecimal;
* 包装箱基板关联表 ( 基板表 ) * 包装箱基板关联表 ( 基板表 )
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@Data @Data
@ApiModel(value = "包装箱基板关联表 ( 基板表 )DTO对象") @ApiModel(value = "包装箱基板关联表 ( 基板表 )DTO对象")
@ -71,4 +71,103 @@ public class WoPackagingBoxSubstrateDTO implements Serializable {
@ApiModelProperty(value = "功率等级") @ApiModelProperty(value = "功率等级")
private String powerLevel; 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;
} }

View File

@ -14,7 +14,7 @@ import lombok.Data;
* </p> * </p>
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@Data @Data
@TableName("t_wo_packaging_box") @TableName("t_wo_packaging_box")
@ -26,7 +26,7 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("ID") @ApiModelProperty("ID")
private Long id; private Long id;
@ApiModelProperty("订单ID") @ApiModelProperty("订单ID(舍弃)")
private Long orderId; private Long orderId;
@ApiModelProperty("工单ID舍弃啊") @ApiModelProperty("工单ID舍弃啊")
@ -111,6 +111,9 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("是否到达包装台1=到达2=未达到") @ApiModelProperty("是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@ApiModelProperty("订单号")
private String orderNum;
public static final String ID = "ID"; 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 IS_ARRIVED = "is_arrived";
public static final String ORDER_NUM = "ORDER_NUM";
} }

View File

@ -14,7 +14,7 @@ import lombok.Data;
* </p> * </p>
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@Data @Data
@TableName("t_wo_packaging_box_substrate") @TableName("t_wo_packaging_box_substrate")
@ -72,6 +72,74 @@ public class WoPackagingBoxSubstrate implements Serializable {
@ApiModelProperty("功率等级") @ApiModelProperty("功率等级")
private String powerLevel; 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"; 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 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";
} }

View File

@ -12,13 +12,13 @@ import java.util.Date;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@Data @Data
public class WoPackagingBoxExcel { public class WoPackagingBoxExcel {
@Excel(name = "ID") @Excel(name = "ID")
private Long id; private Long id;
@Excel(name = "订单ID") @Excel(name = "订单ID(舍弃)")
private Long orderId; private Long orderId;
@Excel(name = "工单ID舍弃啊") @Excel(name = "工单ID舍弃啊")
private Long workOrderId; private Long workOrderId;
@ -74,5 +74,7 @@ public class WoPackagingBoxExcel {
private Integer model; private Integer model;
@Excel(name = "是否到达包装台1=到达2=未达到") @Excel(name = "是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@Excel(name = "订单号")
private String orderNum;
} }

View File

@ -12,7 +12,7 @@ import java.util.Date;
* 包装箱基板关联表 ( 基板表 ) * 包装箱基板关联表 ( 基板表 )
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@Data @Data
public class WoPackagingBoxSubstrateExcel { public class WoPackagingBoxSubstrateExcel {
@ -48,5 +48,71 @@ public class WoPackagingBoxSubstrateExcel {
private Integer lineBody; private Integer lineBody;
@Excel(name = "功率等级") @Excel(name = "功率等级")
private String powerLevel; 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;
} }

View File

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@Mapper @Mapper
public interface WoPackagingBoxMapper extends BaseDao<WoPackagingBox> { public interface WoPackagingBoxMapper extends BaseDao<WoPackagingBox> {

View File

@ -31,6 +31,7 @@
<id column="LINE_BODY" property="lineBody" /> <id column="LINE_BODY" property="lineBody" />
<id column="model" property="model" /> <id column="model" property="model" />
<id column="is_arrived" property="isArrived" /> <id column="is_arrived" property="isArrived" />
<id column="ORDER_NUM" property="orderNum" />
</resultMap> </resultMap>
</mapper> </mapper>

View File

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* 包装箱基板关联表 ( 基板表 ) * 包装箱基板关联表 ( 基板表 )
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@Mapper @Mapper
public interface WoPackagingBoxSubstrateMapper extends BaseDao<WoPackagingBoxSubstrate> { public interface WoPackagingBoxSubstrateMapper extends BaseDao<WoPackagingBoxSubstrate> {

View File

@ -18,6 +18,39 @@
<id column="SAP_MATERIAL" property="sapMaterial" /> <id column="SAP_MATERIAL" property="sapMaterial" />
<id column="LINE_BODY" property="lineBody" /> <id column="LINE_BODY" property="lineBody" />
<id column="POWER_LEVEL" property="powerLevel" /> <id column="POWER_LEVEL" property="powerLevel" />
<id column="LAST_UPDATE_TIME" property="lastUpdateTime" />
<id column="PMPP" property="pmpp" />
<id column="ORDER_NAME" property="orderName" />
<id column="BINCLASS_FL1" property="binclassFl1" />
<id column="BINCLASS_FL2" property="binclassFl2" />
<id column="ETA_FL1" property="etaFl1" />
<id column="ETA_FL2" property="etaFl2" />
<id column="FF_FL1" property="ffFl1" />
<id column="FF_FL2" property="ffFl2" />
<id column="IMPP_FL1" property="imppFl1" />
<id column="IMPP_FL2" property="imppFl2" />
<id column="InsolFlashControl_FL1" property="insolflashcontrolFl1" />
<id column="InsolFlashControl_FL2" property="insolflashcontrolFl2" />
<id column="InsolMPP_FL1" property="insolmppFl1" />
<id column="InsolMPP_FL2" property="insolmppFl2" />
<id column="InsolVoc_FL1" property="insolvocFl1" />
<id column="InsolVoc_FL2" property="insolvocFl2" />
<id column="Insol_FL1" property="insolFl1" />
<id column="Insol_FL2" property="insolFl2" />
<id column="ISC_FL1" property="iscFl1" />
<id column="ISC_FL2" property="iscFl2" />
<id column="MEAS_TIME_FL1" property="measTimeFl1" />
<id column="MEAS_TIME_FL2" property="measTimeFl2" />
<id column="PMPP_FL1" property="pmppFl1" />
<id column="PMPP_FL2" property="pmppFl2" />
<id column="Tcell_FL1" property="tcellFl1" />
<id column="Tcell_FL2" property="tcellFl2" />
<id column="Tmonicell_FL1" property="tmonicellFl1" />
<id column="Tmonicell_FL2" property="tmonicellFl2" />
<id column="UMPP_FL1" property="umppFl1" />
<id column="UMPP_FL2" property="umppFl2" />
<id column="UOC_FL1" property="uocFl1" />
<id column="UOC_FL2" property="uocFl2" />
</resultMap> </resultMap>
</mapper> </mapper>

View File

@ -1,7 +1,7 @@
-- 菜单初始SQL -- 菜单初始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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (1628638869145812999, 1628638869145812994, '导出', NULL, 'code:woPackagingBoxSubstrate:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -1,7 +1,7 @@
-- 菜单初始SQL -- 菜单初始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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (1628589985438695431, 1628589985438695426, '导出', NULL, 'code:woPackagingBox:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -8,7 +8,7 @@ import com.cnbm.generator.code.entity.WoPackagingBox;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
public interface WoPackagingBoxServiceBiz extends CrudService<WoPackagingBox, WoPackagingBoxDTO> { public interface WoPackagingBoxServiceBiz extends CrudService<WoPackagingBox, WoPackagingBoxDTO> {

View File

@ -8,7 +8,7 @@ import com.cnbm.generator.code.entity.WoPackagingBoxSubstrate;
* 包装箱基板关联表 ( 基板表 ) * 包装箱基板关联表 ( 基板表 )
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
public interface WoPackagingBoxSubstrateServiceBiz extends CrudService<WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> { public interface WoPackagingBoxSubstrateServiceBiz extends CrudService<WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> {

View File

@ -15,7 +15,7 @@ import java.util.Map;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-22 * @since 2023-02-23
*/ */
@Service @Service
public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBoxMapper, WoPackagingBox, WoPackagingBoxDTO> implements WoPackagingBoxServiceBiz { public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBoxMapper, WoPackagingBox, WoPackagingBoxDTO> implements WoPackagingBoxServiceBiz {

View File

@ -15,7 +15,7 @@ import java.util.Map;
* 包装箱基板关联表 ( 基板表 ) * 包装箱基板关联表 ( 基板表 )
* *
* @author codeGenerator * @author codeGenerator
* @since 2023-02-21 * @since 2023-02-23
*/ */
@Service @Service
public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPackagingBoxSubstrateMapper, WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> implements WoPackagingBoxSubstrateServiceBiz { public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPackagingBoxSubstrateMapper, WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> implements WoPackagingBoxSubstrateServiceBiz {

View File

@ -70,7 +70,7 @@ public class ChangePackagingBoxHistoryController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:save')") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:save')")
public Result<Long> save(@RequestBody ChangePackagingBoxHistoryDTO dto){ public Result<Long> save(@RequestBody ChangePackagingBoxHistoryDTO dto){
//效验数据 //效验数据
@ -83,7 +83,7 @@ public class ChangePackagingBoxHistoryController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:update')") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:update')")
public Result<Long> update(@RequestBody ChangePackagingBoxHistoryDTO dto){ public Result<Long> update(@RequestBody ChangePackagingBoxHistoryDTO dto){
//效验数据 //效验数据
@ -96,7 +96,7 @@ public class ChangePackagingBoxHistoryController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:delete')") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -109,7 +109,7 @@ public class ChangePackagingBoxHistoryController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:export')") // @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<ChangePackagingBoxHistoryDTO> list = changePackagingBoxHistoryService.list(params); List<ChangePackagingBoxHistoryDTO> list = changePackagingBoxHistoryService.list(params);

View File

@ -82,7 +82,7 @@ public class PrintModelController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:printModel:update')") // @PreAuthorize("@ex.hasAuthority('packing:printModel:update')")
public Result<Long> update(@RequestBody PrintModelDTO dto){ public Result<Long> update(@RequestBody PrintModelDTO dto){
//效验数据 //效验数据
@ -95,7 +95,7 @@ public class PrintModelController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:printModel:delete')") // @PreAuthorize("@ex.hasAuthority('packing:printModel:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -108,7 +108,7 @@ public class PrintModelController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:printModel:export')") // @PreAuthorize("@ex.hasAuthority('packing:printModel:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<PrintModelDTO> list = printModelService.list(params); List<PrintModelDTO> list = printModelService.list(params);

View File

@ -67,7 +67,7 @@ public class WoCompensationPowerController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:save')") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:save')")
public Result<Long> save(@RequestBody WoCompensationPowerDTO dto){ public Result<Long> save(@RequestBody WoCompensationPowerDTO dto){
//效验数据 //效验数据
@ -80,7 +80,7 @@ public class WoCompensationPowerController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:update')") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:update')")
public Result<Long> update(@RequestBody WoCompensationPowerDTO dto){ public Result<Long> update(@RequestBody WoCompensationPowerDTO dto){
//效验数据 //效验数据
@ -93,7 +93,7 @@ public class WoCompensationPowerController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:delete')") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -106,7 +106,7 @@ public class WoCompensationPowerController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:export')") // @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoCompensationPowerDTO> list = woCompensationPowerService.list(params); List<WoCompensationPowerDTO> list = woCompensationPowerService.list(params);
@ -116,7 +116,7 @@ public class WoCompensationPowerController {
@PostMapping(value = "list") @PostMapping(value = "list")
@ApiOperation(value = "获取基板补偿功率") @ApiOperation(value = "获取基板补偿功率")
@LogOperation("获取基板补偿功率") // @LogOperation("获取基板补偿功率")
public List<WoCompensationPowerDTO> list() { return woCompensationPowerService.list(); } public List<WoCompensationPowerDTO> list() { return woCompensationPowerService.list(); }
} }

View File

@ -74,7 +74,7 @@ public class WoPackagingBoxController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:save')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:save')")
public Result<Long> save(@RequestBody WoPackagingBoxDTO dto){ public Result<Long> save(@RequestBody WoPackagingBoxDTO dto){
//效验数据 //效验数据
@ -87,7 +87,7 @@ public class WoPackagingBoxController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:update')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:update')")
public Result<Long> update(@RequestBody WoPackagingBoxDTO dto){ public Result<Long> update(@RequestBody WoPackagingBoxDTO dto){
//效验数据 //效验数据
@ -100,7 +100,7 @@ public class WoPackagingBoxController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:delete')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -113,7 +113,7 @@ public class WoPackagingBoxController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:export')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingBoxDTO> list = woPackagingBoxService.list(params); List<WoPackagingBoxDTO> list = woPackagingBoxService.list(params);
@ -123,7 +123,7 @@ public class WoPackagingBoxController {
@PostMapping(value = "list") @PostMapping(value = "list")
@ApiOperation(value = "获取列表") @ApiOperation(value = "获取列表")
@LogOperation("获取列表") // @LogOperation("获取列表")
public List<WoPackagingBoxDTO> list() { return woPackagingBoxService.list(); } public List<WoPackagingBoxDTO> list() { return woPackagingBoxService.list(); }
} }

View File

@ -81,7 +81,7 @@ public class WoPackagingBoxSubstrateController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:save')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:save')")
public Result<Long> save(@RequestBody WoPackagingBoxSubstrateDTO dto){ public Result<Long> save(@RequestBody WoPackagingBoxSubstrateDTO dto){
//效验数据 //效验数据
@ -94,7 +94,7 @@ public class WoPackagingBoxSubstrateController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:update')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:update')")
public Result<Long> update(@RequestBody WoPackagingBoxSubstrateDTO dto){ public Result<Long> update(@RequestBody WoPackagingBoxSubstrateDTO dto){
//效验数据 //效验数据
@ -107,7 +107,7 @@ public class WoPackagingBoxSubstrateController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:delete')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -120,7 +120,7 @@ public class WoPackagingBoxSubstrateController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:export')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingBoxSubstrateDTO> list = woPackagingBoxSubstrateService.list(params); List<WoPackagingBoxSubstrateDTO> list = woPackagingBoxSubstrateService.list(params);
@ -128,10 +128,10 @@ public class WoPackagingBoxSubstrateController {
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxSubstrateExcel.class); ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxSubstrateExcel.class);
} }
@PostMapping("removeSubstrate") @PostMapping("removeSubstrate/{id}")
@ApiOperation("移箱") @ApiOperation("移箱")
@LogOperation("移箱") // @LogOperation("移箱")
public Result removeSubstrate(@RequestBody Long id){ public Result removeSubstrate(@PathVariable("id") Long id){
woPackagingBoxSubstrateService.removeSubstrate(id); woPackagingBoxSubstrateService.removeSubstrate(id);
@ -140,7 +140,7 @@ public class WoPackagingBoxSubstrateController {
@PostMapping("insertSubstrate") @PostMapping("insertSubstrate")
@ApiOperation("合箱") @ApiOperation("合箱")
@LogOperation("合箱") // @LogOperation("合箱")
public Result insertSubstrate(@RequestBody WoPackagingBoxSubstrateDTO dto){ public Result insertSubstrate(@RequestBody WoPackagingBoxSubstrateDTO dto){
String woSubstrateId = dto.getWoSubstrateId(); String woSubstrateId = dto.getWoSubstrateId();
@ -183,7 +183,7 @@ public class WoPackagingBoxSubstrateController {
@PostMapping("replaceSubstrate") @PostMapping("replaceSubstrate")
@ApiOperation("换箱") @ApiOperation("换箱")
@LogOperation("换箱") // @LogOperation("换箱")
public Result replaceSubstrate(@RequestBody WoPackagingBoxSubstrateDTO[] dtos){ public Result replaceSubstrate(@RequestBody WoPackagingBoxSubstrateDTO[] dtos){
woPackagingBoxSubstrateService.replaceSubstrate(dtos); woPackagingBoxSubstrateService.replaceSubstrate(dtos);
@ -193,7 +193,7 @@ public class WoPackagingBoxSubstrateController {
@PostMapping("slotValidation") @PostMapping("slotValidation")
@ApiOperation("slot是否占用验证") @ApiOperation("slot是否占用验证")
@LogOperation("slot是否占用验证") // @LogOperation("slot是否占用验证")
public boolean slotValidation(@RequestBody WoPackagingBoxSubstrateDTO dto){ public boolean slotValidation(@RequestBody WoPackagingBoxSubstrateDTO dto){
QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>(); QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>();
@ -209,7 +209,7 @@ public class WoPackagingBoxSubstrateController {
@PostMapping("batchInsert") @PostMapping("batchInsert")
@ApiOperation("手动装箱") @ApiOperation("手动装箱")
@LogOperation("手动装箱") // @LogOperation("手动装箱")
public Result batchInsert(@RequestBody WoPackagingBoxSubstrateDTO[] lists){ public Result batchInsert(@RequestBody WoPackagingBoxSubstrateDTO[] lists){
woPackagingBoxSubstrateService.batchInsert(lists); woPackagingBoxSubstrateService.batchInsert(lists);

View File

@ -79,7 +79,7 @@ public class WoPackagingPrintHistoryController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:save')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:save')")
public Result<Long> save(@RequestBody WoPackagingPrintHistoryDTO dto){ public Result<Long> save(@RequestBody WoPackagingPrintHistoryDTO dto){
//效验数据 //效验数据
@ -92,7 +92,7 @@ public class WoPackagingPrintHistoryController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:update')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:update')")
public Result<Long> update(@RequestBody WoPackagingPrintHistoryDTO dto){ public Result<Long> update(@RequestBody WoPackagingPrintHistoryDTO dto){
//效验数据 //效验数据
@ -105,7 +105,7 @@ public class WoPackagingPrintHistoryController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:delete')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -118,7 +118,7 @@ public class WoPackagingPrintHistoryController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:export')") // @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingPrintHistoryDTO> list = woPackagingPrintHistoryService.list(params); List<WoPackagingPrintHistoryDTO> list = woPackagingPrintHistoryService.list(params);
@ -126,10 +126,10 @@ public class WoPackagingPrintHistoryController {
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingPrintHistoryExcel.class); ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingPrintHistoryExcel.class);
} }
@PostMapping("print") @PostMapping("print/{id}")
@ApiOperation("打印") @ApiOperation("打印")
@LogOperation("打印") // @LogOperation("打印")
public Result<Long> print(@RequestBody Long id) { public Result<Long> print(@PathVariable("id") Long id) {
WoPackagingBoxDTO woPackagingBox = woPackagingBoxServiceBiz.get(id); WoPackagingBoxDTO woPackagingBox = woPackagingBoxServiceBiz.get(id);

View File

@ -67,7 +67,7 @@ public class WoPowerLevelController {
@PostMapping @PostMapping
@ApiOperation("保存") @ApiOperation("保存")
@LogOperation("保存") // @LogOperation("保存")
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:save')") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:save')")
public Result<Long> save(@RequestBody WoPowerLevelDTO dto){ public Result<Long> save(@RequestBody WoPowerLevelDTO dto){
//效验数据 //效验数据
@ -80,7 +80,7 @@ public class WoPowerLevelController {
@PutMapping @PutMapping
@ApiOperation("修改") @ApiOperation("修改")
@LogOperation("修改") // @LogOperation("修改")
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:update')") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:update')")
public Result<Long> update(@RequestBody WoPowerLevelDTO dto){ public Result<Long> update(@RequestBody WoPowerLevelDTO dto){
//效验数据 //效验数据
@ -93,7 +93,7 @@ public class WoPowerLevelController {
@DeleteMapping @DeleteMapping
@ApiOperation("删除") @ApiOperation("删除")
@LogOperation("删除") // @LogOperation("删除")
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:delete')") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:delete')")
public Result delete(@RequestBody Long[] ids){ public Result delete(@RequestBody Long[] ids){
//效验数据 //效验数据
@ -106,7 +106,7 @@ public class WoPowerLevelController {
@GetMapping("export") @GetMapping("export")
@ApiOperation("导出") @ApiOperation("导出")
@LogOperation("导出") // @LogOperation("导出")
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:export')") // @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPowerLevelDTO> list = woPowerLevelService.list(params); List<WoPowerLevelDTO> list = woPowerLevelService.list(params);
@ -116,7 +116,7 @@ public class WoPowerLevelController {
@PostMapping(value = "list") @PostMapping(value = "list")
@ApiOperation(value = "获取功率等级") @ApiOperation(value = "获取功率等级")
@LogOperation("获取功率等级") // @LogOperation("获取功率等级")
public List<WoPowerLevelDTO> list() { return woPowerLevelService.list(); } public List<WoPowerLevelDTO> list() { return woPowerLevelService.list(); }
} }

View File

@ -110,4 +110,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "是否到达包装台1=到达2=未达到") @ApiModelProperty(value = "是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@ApiModelProperty(value = "订单号")
private String orderNum;
} }

View File

@ -71,4 +71,103 @@ public class WoPackagingBoxSubstrateDTO implements Serializable {
@ApiModelProperty(value = "功率等级") @ApiModelProperty(value = "功率等级")
private String powerLevel; 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;
} }

View File

@ -111,6 +111,9 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("是否到达包装台1=到达2=未达到") @ApiModelProperty("是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@ApiModelProperty("订单号")
private String orderNum;
public static final String ID = "ID"; 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 IS_ARRIVED = "is_arrived";
public static final String ORDER_NUM = "ORDER_NUM";
} }

View File

@ -72,6 +72,74 @@ public class WoPackagingBoxSubstrate implements Serializable {
@ApiModelProperty("功率等级") @ApiModelProperty("功率等级")
private String powerLevel; 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"; 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 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";
} }

View File

@ -74,5 +74,7 @@ public class WoPackagingBoxExcel {
private Integer model; private Integer model;
@Excel(name = "是否到达包装台1=到达2=未达到") @Excel(name = "是否到达包装台1=到达2=未达到")
private Integer isArrived; private Integer isArrived;
@Excel(name = "订单号")
private String orderNum;
} }

View File

@ -48,5 +48,72 @@ public class WoPackagingBoxSubstrateExcel {
private Integer lineBody; private Integer lineBody;
@Excel(name = "功率等级") @Excel(name = "功率等级")
private String powerLevel; 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;
} }

View File

@ -1,6 +1,7 @@
package com.cnbm.packing.service.impl; package com.cnbm.packing.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 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.baomidou.mybatisplus.core.metadata.IPage;
import com.cnbm.common.page.PageData; import com.cnbm.common.page.PageData;
import com.cnbm.common.service.impl.CrudServiceImpl; import com.cnbm.common.service.impl.CrudServiceImpl;
@ -36,12 +37,6 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPac
@Autowired @Autowired
private ChangePackagingBoxHistoryServiceBiz changePackagingBoxHistoryService; private ChangePackagingBoxHistoryServiceBiz changePackagingBoxHistoryService;
@Resource
private WoPackagingBoxMapper woPackagingBoxMapper;
@Resource
private WoPackagingBoxSubstrateMapper woPackagingBoxSubstrateMapper;
@Override @Override
public QueryWrapper<WoPackagingBoxSubstrate> getWrapper(Map<String, Object> params){ public QueryWrapper<WoPackagingBoxSubstrate> getWrapper(Map<String, Object> params){
@ -104,9 +99,14 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPac
changePackagingBoxHistory.setType(2); changePackagingBoxHistory.setType(2);
changePackagingBoxHistoryService.insert(changePackagingBoxHistory); changePackagingBoxHistoryService.insert(changePackagingBoxHistory);
//模组从该包装箱中移出该模组变为未绑定BoxID的模组 //模组从该包装箱中移出该模组变为未绑定BoxID的模组
entity.setPackagingBoxId(null); UpdateWrapper<WoPackagingBoxSubstrate> wrapper = new UpdateWrapper<>();
entity.setSlot(null); wrapper.set(WoPackagingBoxSubstrate.PACKAGING_BOX_ID,null);
updateById(entity); wrapper.set(WoPackagingBoxSubstrate.SLOT,null);
wrapper.eq(WoPackagingBoxSubstrate.ID,entity.getId());
update(entity,wrapper);
// entity.setPackagingBoxId("");
// entity.setSlot(null);
// updateById(entity);
} }
@Override @Override

View File

@ -31,6 +31,7 @@
<id column="LINE_BODY" property="lineBody" /> <id column="LINE_BODY" property="lineBody" />
<id column="model" property="model" /> <id column="model" property="model" />
<id column="is_arrived" property="isArrived" /> <id column="is_arrived" property="isArrived" />
<id column="ORDER_NUM" property="orderNum" />
</resultMap> </resultMap>
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxDTO">

View File

@ -18,6 +18,39 @@
<id column="SAP_MATERIAL" property="sapMaterial" /> <id column="SAP_MATERIAL" property="sapMaterial" />
<id column="LINE_BODY" property="lineBody" /> <id column="LINE_BODY" property="lineBody" />
<id column="POWER_LEVEL" property="powerLevel" /> <id column="POWER_LEVEL" property="powerLevel" />
<id column="LAST_UPDATE_TIME" property="lastUpdateTime" />
<id column="PMPP" property="pmpp" />
<id column="ORDER_NAME" property="orderName" />
<id column="BINCLASS_FL1" property="binclassFl1" />
<id column="BINCLASS_FL2" property="binclassFl2" />
<id column="ETA_FL1" property="etaFl1" />
<id column="ETA_FL2" property="etaFl2" />
<id column="FF_FL1" property="ffFl1" />
<id column="FF_FL2" property="ffFl2" />
<id column="IMPP_FL1" property="imppFl1" />
<id column="IMPP_FL2" property="imppFl2" />
<id column="InsolFlashControl_FL1" property="insolflashcontrolFl1" />
<id column="InsolFlashControl_FL2" property="insolflashcontrolFl2" />
<id column="InsolMPP_FL1" property="insolmppFl1" />
<id column="InsolMPP_FL2" property="insolmppFl2" />
<id column="InsolVoc_FL1" property="insolvocFl1" />
<id column="InsolVoc_FL2" property="insolvocFl2" />
<id column="Insol_FL1" property="insolFl1" />
<id column="Insol_FL2" property="insolFl2" />
<id column="ISC_FL1" property="iscFl1" />
<id column="ISC_FL2" property="iscFl2" />
<id column="MEAS_TIME_FL1" property="measTimeFl1" />
<id column="MEAS_TIME_FL2" property="measTimeFl2" />
<id column="PMPP_FL1" property="pmppFl1" />
<id column="PMPP_FL2" property="pmppFl2" />
<id column="Tcell_FL1" property="tcellFl1" />
<id column="Tcell_FL2" property="tcellFl2" />
<id column="Tmonicell_FL1" property="tmonicellFl1" />
<id column="Tmonicell_FL2" property="tmonicellFl2" />
<id column="UMPP_FL1" property="umppFl1" />
<id column="UMPP_FL2" property="umppFl2" />
<id column="UOC_FL1" property="uocFl1" />
<id column="UOC_FL2" property="uocFl2" />
</resultMap> </resultMap>
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">