Compare commits

..

No commits in common. "c90631c2055950823ddc36470dc2165597b5c946" and "8c3d387257d22882e5519d0863a4b88d5398b655" have entirely different histories.

37 changed files with 60 additions and 219 deletions

View File

@ -31,7 +31,7 @@ import java.util.Map;
* 打印标签模板表 前端控制器 * 打印标签模板表 前端控制器
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@RestController @RestController
@RequestMapping("/code/printModel") @RequestMapping("/code/printModel")

View File

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

View File

@ -14,7 +14,7 @@ import java.math.BigDecimal;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@Data @Data
@ApiModel(value = "打印标签模板表DTO对象") @ApiModel(value = "打印标签模板表DTO对象")
@ -80,19 +80,10 @@ public class PrintModelDTO implements Serializable {
@ApiModelProperty(value = "是否启用0 停用1 启用") @ApiModelProperty(value = "是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@ApiModelProperty(value = "场景(用不着了,废弃)") @ApiModelProperty(value = "场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@ApiModelProperty(value = "产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty(value = "产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@ApiModelProperty(value = "节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty(value = "产品等级,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty(value = "产品等级,前端写死,输入")
private String coverName;
} }

View File

@ -14,7 +14,7 @@ import java.math.BigDecimal;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-29 * @since 2023-02-23
*/ */
@Data @Data
@ApiModel(value = "包装箱表DTO对象") @ApiModel(value = "包装箱表DTO对象")
@ -41,7 +41,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "等级(舍弃)") @ApiModelProperty(value = "等级(舍弃)")
private Integer grade; private Integer grade;
@ApiModelProperty(value = "基板数量每个包装箱最大20片") @ApiModelProperty(value = "基板数量每个包装箱最大20片(舍弃)")
private Integer substrateQuantity; private Integer substrateQuantity;
@ApiModelProperty(value = "装箱完成时间,指的是包装完成时间") @ApiModelProperty(value = "装箱完成时间,指的是包装完成时间")
@ -113,16 +113,4 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "订单号") @ApiModelProperty(value = "订单号")
private String orderNum; private String orderNum;
@ApiModelProperty(value = "产品等级t_product_level 把code传过来放进去不要放id")
private String productGrade;
@ApiModelProperty(value = "节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty(value = "最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty(value = "盖板,前端写死,输入")
private String coverName;
} }

View File

@ -14,7 +14,7 @@ import lombok.Data;
* </p> * </p>
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@Data @Data
@TableName("t_print_model") @TableName("t_print_model")
@ -81,21 +81,12 @@ public class PrintModel implements Serializable {
@ApiModelProperty("是否启用0 停用1 启用") @ApiModelProperty("是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@ApiModelProperty("场景(用不着了,废弃)") @ApiModelProperty("场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@ApiModelProperty("产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty("产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@ApiModelProperty("节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty("产品等级,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty("产品等级,前端写死,输入")
private String coverName;
public static final String ID = "ID"; public static final String ID = "ID";
@ -139,10 +130,4 @@ public class PrintModel implements Serializable {
public static final String PRODUCT_GRADE = "product_grade"; public static final String PRODUCT_GRADE = "product_grade";
public static final String PITCH_NUMBER = "pitch_number";
public static final String MAX_FUSE_CURRENT = "max_fuse_current";
public static final String COVER_NAME = "cover_name";
} }

View File

@ -14,7 +14,7 @@ import lombok.Data;
* </p> * </p>
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-29 * @since 2023-02-23
*/ */
@Data @Data
@TableName("t_wo_packaging_box") @TableName("t_wo_packaging_box")
@ -41,7 +41,7 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("等级(舍弃)") @ApiModelProperty("等级(舍弃)")
private Integer grade; private Integer grade;
@ApiModelProperty("基板数量每个包装箱最大20片") @ApiModelProperty("基板数量每个包装箱最大20片(舍弃)")
private Integer substrateQuantity; private Integer substrateQuantity;
@ApiModelProperty("装箱完成时间,指的是包装完成时间") @ApiModelProperty("装箱完成时间,指的是包装完成时间")
@ -114,18 +114,6 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("订单号") @ApiModelProperty("订单号")
private String orderNum; private String orderNum;
@ApiModelProperty("产品等级t_product_level 把code传过来放进去不要放id")
private String productGrade;
@ApiModelProperty("节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty("最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty("盖板,前端写死,输入")
private String coverName;
public static final String ID = "ID"; public static final String ID = "ID";
@ -187,12 +175,4 @@ public class WoPackagingBox implements Serializable {
public static final String ORDER_NUM = "ORDER_NUM"; public static final String ORDER_NUM = "ORDER_NUM";
public static final String PRODUCT_GRADE = "product_grade";
public static final String PITCH_NUMBER = "pitch_number";
public static final String MAX_FUSE_CURRENT = "max_fuse_current";
public static final String COVER_NAME = "cover_name";
} }

View File

@ -12,7 +12,7 @@ import java.util.Date;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@Data @Data
public class PrintModelExcel { public class PrintModelExcel {
@ -54,15 +54,9 @@ public class PrintModelExcel {
private Integer lineBody; private Integer lineBody;
@Excel(name = "是否启用0 停用1 启用") @Excel(name = "是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@Excel(name = "场景(用不着了,废弃)") @Excel(name = "场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@Excel(name = "产品等级t_product_level 把code传过来放进去不要放id") @Excel(name = "产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@Excel(name = "节数,前端写死,输入")
private String pitchNumber;
@Excel(name = "产品等级,前端写死,输入")
private String maxFuseCurrent;
@Excel(name = "产品等级,前端写死,输入")
private String coverName;
} }

View File

@ -12,7 +12,7 @@ import java.util.Date;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-29 * @since 2023-02-23
*/ */
@Data @Data
public class WoPackagingBoxExcel { public class WoPackagingBoxExcel {
@ -28,7 +28,7 @@ public class WoPackagingBoxExcel {
private Integer power; private Integer power;
@Excel(name = "等级(舍弃)") @Excel(name = "等级(舍弃)")
private Integer grade; private Integer grade;
@Excel(name = "基板数量每个包装箱最大20片") @Excel(name = "基板数量每个包装箱最大20片(舍弃)")
private Integer substrateQuantity; private Integer substrateQuantity;
@Excel(name = "装箱完成时间,指的是包装完成时间") @Excel(name = "装箱完成时间,指的是包装完成时间")
private LocalDateTime packagingTime; private LocalDateTime packagingTime;
@ -76,13 +76,5 @@ public class WoPackagingBoxExcel {
private Integer isArrived; private Integer isArrived;
@Excel(name = "订单号") @Excel(name = "订单号")
private String orderNum; private String orderNum;
@Excel(name = "产品等级t_product_level 把code传过来放进去不要放id")
private String productGrade;
@Excel(name = "节数,前端写死,输入")
private String pitchNumber;
@Excel(name = "最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@Excel(name = "盖板,前端写死,输入")
private String coverName;
} }

View File

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@Mapper @Mapper
public interface PrintModelMapper extends BaseDao<PrintModel> { public interface PrintModelMapper extends BaseDao<PrintModel> {

View File

@ -23,9 +23,6 @@
<id column="is_enable" property="isEnable" /> <id column="is_enable" property="isEnable" />
<id column="scenes" property="scenes" /> <id column="scenes" property="scenes" />
<id column="product_grade" property="productGrade" /> <id column="product_grade" property="productGrade" />
<id column="pitch_number" property="pitchNumber" />
<id column="max_fuse_current" property="maxFuseCurrent" />
<id column="cover_name" property="coverName" />
</resultMap> </resultMap>
</mapper> </mapper>

View File

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

View File

@ -32,10 +32,6 @@
<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" /> <id column="ORDER_NUM" property="orderNum" />
<id column="product_grade" property="productGrade" />
<id column="pitch_number" property="pitchNumber" />
<id column="max_fuse_current" property="maxFuseCurrent" />
<id column="cover_name" property="coverName" />
</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 (1750401797217132546, 1067246875800000035, '打印标签模板表', 'code/printModel', 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 (1738098359422767105, 1067246875800000035, '打印标签模板表', 'code/printModel', 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 (1750401797217132547, 1750401797217132546, '查看', NULL, 'code:printModel:page,code:printModel: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 (1738098359422767106, 1738098359422767105, '查看', NULL, 'code:printModel:page,code:printModel: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 (1750401797217132548, 1750401797217132546, '新增', NULL, 'code:printModel: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 (1738098359422767107, 1738098359422767105, '新增', NULL, 'code:printModel: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 (1750401797217132549, 1750401797217132546, '修改', NULL, 'code:printModel: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 (1738098359422767108, 1738098359422767105, '修改', NULL, 'code:printModel: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 (1750401797217132550, 1750401797217132546, '删除', NULL, 'code:printModel: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 (1738098359422767109, 1738098359422767105, '删除', NULL, 'code:printModel: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 (1750401797217132551, 1750401797217132546, '导出', NULL, 'code:printModel: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 (1738098359422767110, 1738098359422767105, '导出', NULL, 'code:printModel: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 (1751843769903550465, 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 (1751843769903550466, 1751843769903550465, '查看', 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 (1751843769903550467, 1751843769903550465, '新增', 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 (1751843769903550468, 1751843769903550465, '修改', 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 (1751843769903550469, 1751843769903550465, '删除', 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 (1751843769903550470, 1751843769903550465, '导出', 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.PrintModel;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
public interface PrintModelServiceBiz extends CrudService<PrintModel, PrintModelDTO> { public interface PrintModelServiceBiz extends CrudService<PrintModel, PrintModelDTO> {

View File

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

View File

@ -15,7 +15,7 @@ import java.util.Map;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-12-22
*/ */
@Service @Service
public class PrintModelServiceBizImpl extends CrudServiceImpl<PrintModelMapper, PrintModel, PrintModelDTO> implements PrintModelServiceBiz { public class PrintModelServiceBizImpl extends CrudServiceImpl<PrintModelMapper, PrintModel, PrintModelDTO> implements PrintModelServiceBiz {

View File

@ -15,7 +15,7 @@ import java.util.Map;
* 包装箱表 * 包装箱表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-29 * @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

@ -65,7 +65,7 @@ public class WoPackagingBoxController {
}) })
public Result<PageData<WoPackagingBoxDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){ public Result<PageData<WoPackagingBoxDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoPackagingBoxDTO> page = woPackagingBoxService.page(params); PageData<WoPackagingBoxDTO> page = woPackagingBoxService.page(params);
// woPackagingBoxService.setColor(page.getList()); woPackagingBoxService.setColor(page.getList());
return new Result<PageData<WoPackagingBoxDTO>>().ok(page); return new Result<PageData<WoPackagingBoxDTO>>().ok(page);
} }

View File

@ -283,7 +283,7 @@ public class WoPackagingBoxSubstrateController {
//验证该模组的线体功率等级是否BoxID的线体功率等级一致一致保存成功数据发生更新不一致则显示保存失败数据不发生更新 //验证该模组的线体功率等级是否BoxID的线体功率等级一致一致保存成功数据发生更新不一致则显示保存失败数据不发生更新
WoPackagingBox box = woPackagingBoxMapper.selectList(boxQueryWrapper).get(0); WoPackagingBox box = woPackagingBoxMapper.selectList(boxQueryWrapper).get(0);
if((substrate.getLineBody().equals(box.getLineBody())) && (substrate.getPowerLevel().equals(box.getPowerLevel())) ) if((substrate.getLineBody()==box.getLineBody()) && (substrate.getPowerLevel().equals(box.getPowerLevel())) )
{ {
dto.setId(substrate.getId()); dto.setId(substrate.getId());
woPackagingBoxSubstrateService.insertSubstrate(dto); woPackagingBoxSubstrateService.insertSubstrate(dto);
@ -343,7 +343,7 @@ public class WoPackagingBoxSubstrateController {
@ApiOperation("装箱单信息查询") @ApiOperation("装箱单信息查询")
public Result<PageData<WoPackagingBoxSubstrateDTO>> substrateList(@RequestBody PackingInfoQueryParam param){ public Result<PageData<WoPackagingBoxSubstrateDTO>> substrateList(@RequestBody PackingInfoQueryParam param){
PageData<WoPackagingBoxSubstrateDTO> page = woPackagingBoxSubstrateService.substratePage(param); PageData<WoPackagingBoxSubstrateDTO> page = woPackagingBoxSubstrateService.substratePage(param);
// woPackagingBoxSubstrateService.setColor(page.getList()); woPackagingBoxSubstrateService.setColor(page.getList());
return new Result<PageData<WoPackagingBoxSubstrateDTO>>().ok(page); return new Result<PageData<WoPackagingBoxSubstrateDTO>>().ok(page);
} }

View File

@ -14,7 +14,7 @@ import java.math.BigDecimal;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-02-20
*/ */
@Data @Data
@ApiModel(value = "打印标签模板表DTO对象") @ApiModel(value = "打印标签模板表DTO对象")
@ -62,7 +62,7 @@ public class PrintModelDTO implements Serializable {
@ApiModelProperty(value = "备注") @ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "类型,1手动2自动") @ApiModelProperty(value = "类型,0模组标签1等级标签")
private Integer type; private Integer type;
@ApiModelProperty(value = "是否默认模板01") @ApiModelProperty(value = "是否默认模板01")
@ -80,19 +80,10 @@ public class PrintModelDTO implements Serializable {
@ApiModelProperty(value = "是否启用0 停用1 启用") @ApiModelProperty(value = "是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@ApiModelProperty(value = "场景(用不着了,废弃)") @ApiModelProperty(value = "场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@ApiModelProperty(value = "产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty(value = "产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@ApiModelProperty(value = "节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty(value = "产品等级,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty(value = "产品等级,前端写死,输入")
private String coverName;
} }

View File

@ -43,7 +43,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "等级(舍弃)") @ApiModelProperty(value = "等级(舍弃)")
private Integer grade; private Integer grade;
@ApiModelProperty(value = "基板数量每个包装箱最大20片") @ApiModelProperty(value = "基板数量每个包装箱最大20片(舍弃)")
private Integer substrateQuantity; private Integer substrateQuantity;
@ApiModelProperty(value = "装箱完成时间,指的是包装完成时间") @ApiModelProperty(value = "装箱完成时间,指的是包装完成时间")
@ -118,16 +118,7 @@ public class WoPackagingBoxDTO implements Serializable {
@ApiModelProperty(value = "基板列表") @ApiModelProperty(value = "基板列表")
private List<WoPackagingBoxSubstrate> substrateList; private List<WoPackagingBoxSubstrate> substrateList;
@ApiModelProperty(value = "产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty(value = "颜色(物料号匹配)")
private String productGrade; private String color;
@ApiModelProperty(value = "节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty(value = "最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty(value = "盖板,前端写死,输入")
private String coverName;
} }

View File

@ -185,16 +185,7 @@ public class WoPackagingBoxSubstrateDTO implements Serializable {
@ApiModelProperty(value = "最近打印时间(转)") @ApiModelProperty(value = "最近打印时间(转)")
private String printTime1; private String printTime1;
@ApiModelProperty(value = "产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty(value = "颜色(物料号匹配)")
private String productGrade; private String color;
@ApiModelProperty(value = "节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty(value = "最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty(value = "盖板,前端写死,输入")
private String coverName;
} }

View File

@ -14,7 +14,7 @@ import lombok.Data;
* </p> * </p>
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-02-20
*/ */
@Data @Data
@TableName("t_print_model") @TableName("t_print_model")
@ -63,7 +63,7 @@ public class PrintModel implements Serializable {
@ApiModelProperty("备注") @ApiModelProperty("备注")
private String remark; private String remark;
@ApiModelProperty("类型,1手动2自动") @ApiModelProperty("类型,0模组标签1等级标签")
private Integer type; private Integer type;
@ApiModelProperty("是否默认模板01") @ApiModelProperty("是否默认模板01")
@ -81,21 +81,12 @@ public class PrintModel implements Serializable {
@ApiModelProperty("是否启用0 停用1 启用") @ApiModelProperty("是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@ApiModelProperty("场景(用不着了,废弃)") @ApiModelProperty("场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@ApiModelProperty("产品等级t_product_level 把code传过来放进去不要放id") @ApiModelProperty("产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@ApiModelProperty("节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty("产品等级,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty("产品等级,前端写死,输入")
private String coverName;
public static final String ID = "ID"; public static final String ID = "ID";
@ -139,10 +130,4 @@ public class PrintModel implements Serializable {
public static final String PRODUCT_GRADE = "product_grade"; public static final String PRODUCT_GRADE = "product_grade";
public static final String PITCH_NUMBER = "pitch_number";
public static final String MAX_FUSE_CURRENT = "max_fuse_current";
public static final String COVER_NAME = "cover_name";
} }

View File

@ -41,7 +41,7 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("等级(舍弃)") @ApiModelProperty("等级(舍弃)")
private Integer grade; private Integer grade;
@ApiModelProperty("基板数量每个包装箱最大20片") @ApiModelProperty("基板数量每个包装箱最大20片(舍弃)")
private Integer substrateQuantity; private Integer substrateQuantity;
@ApiModelProperty("装箱完成时间,指的是包装完成时间") @ApiModelProperty("装箱完成时间,指的是包装完成时间")
@ -114,18 +114,6 @@ public class WoPackagingBox implements Serializable {
@ApiModelProperty("订单号") @ApiModelProperty("订单号")
private String orderNum; private String orderNum;
@ApiModelProperty("产品等级t_product_level 把code传过来放进去不要放id")
private String productGrade;
@ApiModelProperty("节数,前端写死,输入")
private String pitchNumber;
@ApiModelProperty("最大额定熔断电流,前端写死,输入")
private String maxFuseCurrent;
@ApiModelProperty("盖板,前端写死,输入")
private String coverName;
public static final String ID = "ID"; public static final String ID = "ID";
@ -187,12 +175,4 @@ public class WoPackagingBox implements Serializable {
public static final String ORDER_NUM = "ORDER_NUM"; public static final String ORDER_NUM = "ORDER_NUM";
public static final String PRODUCT_GRADE = "product_grade";
public static final String PITCH_NUMBER = "pitch_number";
public static final String MAX_FUSE_CURRENT = "max_fuse_current";
public static final String COVER_NAME = "cover_name";
} }

View File

@ -12,7 +12,7 @@ import java.util.Date;
* 打印标签模板表 * 打印标签模板表
* *
* @author codeGenerator * @author codeGenerator
* @since 2024-01-25 * @since 2023-02-20
*/ */
@Data @Data
public class PrintModelExcel { public class PrintModelExcel {
@ -42,7 +42,7 @@ public class PrintModelExcel {
private Integer valid; private Integer valid;
@Excel(name = "备注") @Excel(name = "备注")
private String remark; private String remark;
@Excel(name = "类型,1手动2自动") @Excel(name = "类型,0模组标签1等级标签")
private Integer type; private Integer type;
@Excel(name = "是否默认模板01") @Excel(name = "是否默认模板01")
private Integer isDefault; private Integer isDefault;
@ -54,15 +54,9 @@ public class PrintModelExcel {
private Integer lineBody; private Integer lineBody;
@Excel(name = "是否启用0 停用1 启用") @Excel(name = "是否启用0 停用1 启用")
private Integer isEnable; private Integer isEnable;
@Excel(name = "场景(用不着了,废弃)") @Excel(name = "场景前端传字符串过来t_scenes 把value传过来放进去不要放id")
private String scenes; private String scenes;
@Excel(name = "产品等级t_product_level 把code传过来放进去不要放id") @Excel(name = "产品等级t_product_level 把value传过来放进去不要放id")
private String productGrade; private String productGrade;
@Excel(name = "节数,前端写死,输入")
private String pitchNumber;
@Excel(name = "产品等级,前端写死,输入")
private String maxFuseCurrent;
@Excel(name = "产品等级,前端写死,输入")
private String coverName;
} }

View File

@ -57,5 +57,5 @@ public interface WoPackagingBoxServiceBiz extends CrudService<WoPackagingBox, Wo
R<IPage<SubIdPageVo>> subIdPage(SubIdQueryParam param); R<IPage<SubIdPageVo>> subIdPage(SubIdQueryParam param);
// void setColor(List<WoPackagingBoxDTO> list); void setColor(List<WoPackagingBoxDTO> list);
} }

View File

@ -47,5 +47,5 @@ public interface WoPackagingBoxSubstrateServiceBiz extends CrudService<WoPackagi
int updatePackagingBoxIdAndSlotByWoSubstrateId(String packagingBoxId,Integer slot,String woSubstrateId); int updatePackagingBoxIdAndSlotByWoSubstrateId(String packagingBoxId,Integer slot,String woSubstrateId);
// void setColor(List<WoPackagingBoxSubstrateDTO> list); void setColor(List<WoPackagingBoxSubstrateDTO> list);
} }

View File

@ -140,7 +140,7 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBox
public WoPackagingBoxDTO printList(Long id) { public WoPackagingBoxDTO printList(Long id) {
WoPackagingBox entity = baseDao.selectById(id); WoPackagingBox entity = baseDao.selectById(id);
WoPackagingBoxDTO dto = ConvertUtils.sourceToTarget(entity, WoPackagingBoxDTO.class); WoPackagingBoxDTO dto = ConvertUtils.sourceToTarget(entity, WoPackagingBoxDTO.class);
// matchColor(dto); matchColor(dto);
QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>(); QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(entity.getBoxNo()), WoPackagingBoxSubstrate.PACKAGING_BOX_ID, entity.getBoxNo()); wrapper.eq(StringUtils.isNotBlank(entity.getBoxNo()), WoPackagingBoxSubstrate.PACKAGING_BOX_ID, entity.getBoxNo());
wrapper.orderByAsc(WoPackagingBoxSubstrate.SLOT); wrapper.orderByAsc(WoPackagingBoxSubstrate.SLOT);
@ -251,7 +251,6 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBox
return R.ok(iPage); return R.ok(iPage);
} }
/*
@Override @Override
public void setColor(List<WoPackagingBoxDTO> list) { public void setColor(List<WoPackagingBoxDTO> list) {
list.forEach(e -> { list.forEach(e -> {
@ -405,6 +404,5 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBox
} }
} }
} }
*/
} }

View File

@ -232,7 +232,6 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPac
return mapper.updatePackagingBoxIdAndSlotByWoSubstrateId(packagingBoxId,slot,woSubstrateId); return mapper.updatePackagingBoxIdAndSlotByWoSubstrateId(packagingBoxId,slot,woSubstrateId);
} }
/*
@Override @Override
public void setColor(List<WoPackagingBoxSubstrateDTO> list) { public void setColor(List<WoPackagingBoxSubstrateDTO> list) {
list.forEach(e -> { list.forEach(e -> {
@ -382,5 +381,4 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPac
} }
}); });
} }
*/
} }

View File

@ -25,7 +25,6 @@
<select id="list" resultType="com.cnbm.packing.dto.ChangePackagingBoxHistoryDTO"> <select id="list" resultType="com.cnbm.packing.dto.ChangePackagingBoxHistoryDTO">
select * from t_change_packaging_box_history select * from t_change_packaging_box_history
<where> <where>
valid = 1
<if test="startTime != null and endTime != null"> <if test="startTime != null and endTime != null">
and create_time BETWEEN #{startTime} AND #{endTime} and create_time BETWEEN #{startTime} AND #{endTime}
</if> </if>

View File

@ -24,14 +24,10 @@
<id column="is_enable" property="isEnable" /> <id column="is_enable" property="isEnable" />
<id column="scenes" property="scenes" /> <id column="scenes" property="scenes" />
<id column="product_grade" property="productGrade" /> <id column="product_grade" property="productGrade" />
<id column="pitch_number" property="pitchNumber" />
<id column="max_fuse_current" property="maxFuseCurrent" />
<id column="cover_name" property="coverName" />
</resultMap> </resultMap>
<select id="list" resultType="com.cnbm.packing.dto.PrintModelDTO"> <select id="list" resultType="com.cnbm.packing.dto.PrintModelDTO">
select * from t_print_model select * from t_print_model
where valid = 1
order by id asc order by id asc
</select> </select>

View File

@ -27,7 +27,6 @@
<select id="list" resultType="com.cnbm.packing.dto.WoCompensationPowerDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoCompensationPowerDTO">
select * from t_wo_compensation_power select * from t_wo_compensation_power
where valid = 1
order by id asc order by id asc
</select> </select>

View File

@ -36,7 +36,6 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxDTO">
select * from t_wo_packaging_box select * from t_wo_packaging_box
where valid = 1
order by id asc order by id asc
</select> </select>
<update id="updateIsArrivedByBoxNo"> <update id="updateIsArrivedByBoxNo">

View File

@ -145,8 +145,7 @@
<select id="substratePage" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO"> <select id="substratePage" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">
select select
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime, twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime
twpb.product_grade as productGrade, twpb.pitch_number as pitchNumber, twpb.max_fuse_current as maxFuseCurrent, twpb.cover_name as coverName
from t_wo_packaging_box_substrate twpbs from t_wo_packaging_box_substrate twpbs
left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO
<where> <where>

View File

@ -24,7 +24,6 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingPrintHistoryDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoPackagingPrintHistoryDTO">
select * from t_wo_packaging_print_history select * from t_wo_packaging_print_history
where valid = 1
order by id asc order by id asc
</select> </select>

View File

@ -25,7 +25,6 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPowerLevelDTO"> <select id="list" resultType="com.cnbm.packing.dto.WoPowerLevelDTO">
select * from t_wo_power_level select * from t_wo_power_level
where valid = 1
order by id asc order by id asc
</select> </select>