mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 13:42:07 +08:00
禅道Bug修改
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
package com.cf.imes.module.executor.controller.admin.plan.bo;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
||||||
|
@Data
|
||||||
|
|
||||||
|
public class GoodsIds {
|
||||||
|
|
||||||
|
|
||||||
|
@Schema(description = "大板ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "生产单ID")
|
||||||
|
private Long orderId;
|
||||||
|
|
||||||
|
@Schema(description = "板材库的大板ID")
|
||||||
|
private Long goodsId;
|
||||||
|
|
||||||
|
@Schema(description = "余料板ID")
|
||||||
|
private Long remainId;
|
||||||
|
|
||||||
|
}
|
||||||
+9
@@ -16,6 +16,8 @@ import lombok.Builder;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import javax.validation.Valid;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -40,6 +42,11 @@ public class OrderSource {
|
|||||||
@Schema(description = "排单数据")
|
@Schema(description = "排单数据")
|
||||||
private PlanDO plan;
|
private PlanDO plan;
|
||||||
|
|
||||||
|
|
||||||
|
@Schema(description = "大板ID列表")
|
||||||
|
private List<GoodsIds> goodsIdList;
|
||||||
|
|
||||||
|
|
||||||
@Schema(description = "生产单列表")
|
@Schema(description = "生产单列表")
|
||||||
private List<OrderDO> orderList;
|
private List<OrderDO> orderList;
|
||||||
|
|
||||||
@@ -61,4 +68,6 @@ public class OrderSource {
|
|||||||
private List<PrintOrderPackReqVO> orderPackReqVOS;
|
private List<PrintOrderPackReqVO> orderPackReqVOS;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -32,8 +32,8 @@ public class OrderPageReqVOCopy extends PageParam {
|
|||||||
private String consigneeAddress;
|
private String consigneeAddress;
|
||||||
@Schema(description = "状态列表")
|
@Schema(description = "状态列表")
|
||||||
private List<Integer> stateList;
|
private List<Integer> stateList;
|
||||||
/*@Schema(description = "矩形")
|
@Schema(description = "矩形")
|
||||||
private Boolean rectangle;*/
|
private Boolean rectangle;
|
||||||
@Schema(description = "异形")
|
@Schema(description = "异形")
|
||||||
private Boolean specialShaped;
|
private Boolean specialShaped;
|
||||||
@Schema(description = "造型")
|
@Schema(description = "造型")
|
||||||
|
|||||||
+1
-1
@@ -75,7 +75,7 @@ public class PlateDetailsRespVO {
|
|||||||
|
|
||||||
@Schema(description = "排孔", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "排孔", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@ExcelProperty("排孔")
|
@ExcelProperty("排孔")
|
||||||
private String rowHole;
|
private Boolean rowHole;
|
||||||
|
|
||||||
@Schema(description = "加工组", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "加工组", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@ExcelProperty("加工组")
|
@ExcelProperty("加工组")
|
||||||
|
|||||||
+4
@@ -14,6 +14,10 @@ public class PackageDetailsRespVO {
|
|||||||
@Schema(description = "柜体名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "柜体名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String cabinetName;
|
private String cabinetName;
|
||||||
|
|
||||||
|
|
||||||
|
@Schema(description = "板材ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
private String plateId;
|
||||||
|
|
||||||
@Schema(description = "板编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "板编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String plateNo;
|
private String plateNo;
|
||||||
|
|
||||||
|
|||||||
+7
-8
@@ -6,7 +6,8 @@
|
|||||||
<resultMap id="orderItemMap" type="com.cf.imes.module.manage.controller.admin.query.vo.pack.PackageDetailsRespVO">
|
<resultMap id="orderItemMap" type="com.cf.imes.module.manage.controller.admin.query.vo.pack.PackageDetailsRespVO">
|
||||||
<result property="roomName" column="roomName"/>
|
<result property="roomName" column="roomName"/>
|
||||||
<result property="cabinetName" column="bodyName"/>
|
<result property="cabinetName" column="bodyName"/>
|
||||||
<result property="plateNo" column="palteId"/>
|
<result property="plateId" column="plateId"/>
|
||||||
|
<result property="plateNo" column="plateNo"/>
|
||||||
<result property="plateName" column="plateName"/>
|
<result property="plateName" column="plateName"/>
|
||||||
<result property="material" column="plateMaterial"/>
|
<result property="material" column="plateMaterial"/>
|
||||||
<result property="color" column="palteColor"/>
|
<result property="color" column="palteColor"/>
|
||||||
@@ -32,7 +33,8 @@
|
|||||||
og.name as name,
|
og.name as name,
|
||||||
ob.room_name as roomName,
|
ob.room_name as roomName,
|
||||||
ob.name as bodyName,
|
ob.name as bodyName,
|
||||||
op.id as palteId,
|
op.plate_no as plateNo,
|
||||||
|
op.id as plateId,
|
||||||
op.name as plateName,
|
op.name as plateName,
|
||||||
ogs.material as plateMaterial,
|
ogs.material as plateMaterial,
|
||||||
ogs.color as palteColor,
|
ogs.color as palteColor,
|
||||||
@@ -44,8 +46,7 @@
|
|||||||
op.remark as remark,
|
op.remark as remark,
|
||||||
op.is_special_shaped as specialShaped,
|
op.is_special_shaped as specialShaped,
|
||||||
op.is_sculpt as profiling,
|
op.is_sculpt as profiling,
|
||||||
|
op.is_row_hole as rowHole
|
||||||
CASE WHEN op.front_hole_count = 0 or op.back_model_count = 0 or op.side_hole_count = 0 THEN false ELSE true END AS rowHole
|
|
||||||
|
|
||||||
from order_item oi
|
from order_item oi
|
||||||
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
||||||
@@ -150,8 +151,7 @@
|
|||||||
op.remark as remark,
|
op.remark as remark,
|
||||||
op.is_special_shaped as specialShaped,
|
op.is_special_shaped as specialShaped,
|
||||||
op.is_sculpt as profiling,
|
op.is_sculpt as profiling,
|
||||||
|
op.is_row_hole as rowHole
|
||||||
CASE WHEN op.front_hole_count = 0 or op.back_model_count = 0 or op.side_hole_count = 0 THEN false ELSE true END AS rowHole
|
|
||||||
|
|
||||||
from order_item oi
|
from order_item oi
|
||||||
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
||||||
@@ -433,8 +433,7 @@
|
|||||||
op.remark as remark,
|
op.remark as remark,
|
||||||
op.is_special_shaped as specialShaped,
|
op.is_special_shaped as specialShaped,
|
||||||
op.is_sculpt as profiling,
|
op.is_sculpt as profiling,
|
||||||
|
op.is_row_hole as rowHole
|
||||||
CASE WHEN op.front_hole_count = 0 or op.back_model_count = 0 or op.side_hole_count = 0 THEN false ELSE true END AS rowHole
|
|
||||||
|
|
||||||
from order_item oi
|
from order_item oi
|
||||||
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
join order_plate op on oi.plate_id = op.id and oi.organ_id = op.organ_id
|
||||||
|
|||||||
+2
-1
@@ -31,7 +31,8 @@ public class ProcessApiImpl implements ProcessApi {
|
|||||||
|
|
||||||
ProcessDO processDO = processMapper.selectByType(ProcessProcessingTypeEnum.COMPONENTPROCESSING.getNumber(),getUserOrganId());
|
ProcessDO processDO = processMapper.selectByType(ProcessProcessingTypeEnum.COMPONENTPROCESSING.getNumber(),getUserOrganId());
|
||||||
|
|
||||||
return processDO.getPieceRate();
|
|
||||||
|
return processDO == null ? BigDecimal.ZERO : processDO.getPieceRate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -363,7 +363,9 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|||||||
// 关闭数据权限,避免因为没有数据权限,查询不到数据,进而导致唯一校验不正确
|
// 关闭数据权限,避免因为没有数据权限,查询不到数据,进而导致唯一校验不正确
|
||||||
DataPermissionUtils.executeIgnore(() -> {
|
DataPermissionUtils.executeIgnore(() -> {
|
||||||
// 校验用户的密码是否符合规则
|
// 校验用户的密码是否符合规则
|
||||||
validatePassword(password);
|
if(password != null) {
|
||||||
|
validatePassword(password);
|
||||||
|
}
|
||||||
// 校验用户存在
|
// 校验用户存在
|
||||||
validateUserExists(id);
|
validateUserExists(id);
|
||||||
// 校验用户名唯一
|
// 校验用户名唯一
|
||||||
|
|||||||
Reference in New Issue
Block a user