commit
e65b35a39b
280 changed files with 10543 additions and 1556 deletions
@ -0,0 +1,29 @@ |
||||
package org.springblade.job.processor.dashboard; |
||||
|
||||
import jakarta.annotation.Resource; |
||||
import lombok.Data; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springblade.desk.dashboard.feign.IPartClient; |
||||
import org.springframework.stereotype.Component; |
||||
import tech.powerjob.worker.core.processor.ProcessResult; |
||||
import tech.powerjob.worker.core.processor.TaskContext; |
||||
import tech.powerjob.worker.core.processor.sdk.BasicProcessor; |
||||
|
||||
/** |
||||
* 工艺模块-正常任务 |
||||
* @author liweidong |
||||
*/ |
||||
@Component |
||||
@Data |
||||
@Slf4j |
||||
public class TaskingProcessor implements BasicProcessor { |
||||
|
||||
@Resource |
||||
private IPartClient client; |
||||
|
||||
@Override |
||||
public ProcessResult process(TaskContext context) throws Exception { |
||||
client.syncTasking(); |
||||
return new ProcessResult(true); |
||||
} |
||||
} |
||||
@ -0,0 +1,48 @@ |
||||
/** |
||||
* Author: Tom Shuo |
||||
*/ |
||||
package org.springblade.desk.basic.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.io.Serial; |
||||
|
||||
/** |
||||
* [班组用户关联] 实体类 |
||||
* |
||||
* @author Tom Shuo |
||||
* @since 2026-01-13 |
||||
*/ |
||||
@Data |
||||
@TableName("BS_CENTER_TEAM") |
||||
@Schema(description = "RelTeamSetUser Entity对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class CenterTeam extends BaseEntity { |
||||
|
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 作业中心id |
||||
*/ |
||||
public static final String COL_TEAM_SET_ID = "WC_ID"; |
||||
/** |
||||
*班组 |
||||
*/ |
||||
public static final String COL_USER_ID = "TS_ID"; |
||||
|
||||
/** |
||||
* [班组]id |
||||
*/ |
||||
@Schema(description = "[班组]id") |
||||
private Long tsId; |
||||
/** |
||||
* 作业中心id |
||||
*/ |
||||
@Schema(description = "作业中心id") |
||||
private Long wcId; |
||||
} |
||||
@ -0,0 +1,26 @@ |
||||
/** |
||||
* Author: Tom Shuo |
||||
*/ |
||||
package org.springblade.desk.basic.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.desk.basic.pojo.entity.CenterTeam; |
||||
import org.springblade.desk.basic.pojo.entity.TeamSet; |
||||
|
||||
import java.io.Serial; |
||||
|
||||
/** |
||||
* [班组] 视图实体类 |
||||
* |
||||
* @author Tom Shuo |
||||
* @since 2025-12-16 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class CenterTeamVO extends CenterTeam { |
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package org.springblade.desk.dashboard.feign; |
||||
|
||||
import org.springblade.core.launch.constant.AppConstant; |
||||
import org.springblade.desk.dashboard.pojo.entity.DsPartEntity; |
||||
import org.springblade.desk.dashboard.pojo.entity.DsPartRelationEntity; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 零件服务Feign客户端 |
||||
* 修正点:所有GET请求参数添加@RequestParam注解,解决Feign多Body参数异常 |
||||
* @author liweidong |
||||
*/ |
||||
@FeignClient( |
||||
value = AppConstant.APPLICATION_DESK_NAME |
||||
) |
||||
public interface IOrderBoxClient { |
||||
|
||||
String API_PREFIX = "/feign/client/order-box"; |
||||
|
||||
String MONITORING_STATION = API_PREFIX + "/monitoring-station"; |
||||
|
||||
|
||||
/** |
||||
* 零件同步 |
||||
*/ |
||||
@GetMapping(MONITORING_STATION) |
||||
void monitoringStation(); |
||||
} |
||||
@ -0,0 +1,61 @@ |
||||
package org.springblade.desk.dashboard.pojo.entity; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
import java.io.Serial; |
||||
|
||||
/** |
||||
* 零件基础信息实体类 |
||||
* |
||||
* @author |
||||
* @since |
||||
*/ |
||||
@Data |
||||
@TableName("DS_PART_BASICS") |
||||
@Schema(description = "DsPartBasics对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class DsPartBasicsEntity extends BaseEntity { |
||||
|
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
|
||||
/** |
||||
* 零件号 |
||||
*/ |
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
|
||||
/** |
||||
* 零件名称 |
||||
*/ |
||||
@Schema(description = "零件名称") |
||||
private String partName; |
||||
|
||||
/** |
||||
* 产品型号 |
||||
*/ |
||||
@Schema(description = "产品型号") |
||||
private String productType; |
||||
|
||||
/** |
||||
* 是否烧结产品 |
||||
*/ |
||||
@Schema(description = "是否烧结产品") |
||||
private String isSintering; |
||||
|
||||
/** |
||||
* 是否玻璃饼 |
||||
*/ |
||||
@Schema(description = "是否玻璃饼") |
||||
private String isClassCake; |
||||
|
||||
/** |
||||
* 备注 |
||||
*/ |
||||
@Schema(description = "备注") |
||||
private String remarks; |
||||
|
||||
} |
||||
@ -0,0 +1,121 @@ |
||||
package org.springblade.desk.dashboard.pojo.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.util.Date; |
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author: 没有这张表 只是查询用于接收 |
||||
* @create: 2026-03-14 |
||||
*/ |
||||
@Data |
||||
public class DsPartSub { |
||||
|
||||
/** |
||||
* 插针 |
||||
*/ |
||||
public static Short SIN_TER_TYPE_CZ = 1; |
||||
/** |
||||
* 壳体 |
||||
*/ |
||||
public static Short SIN_TER_TYPE_KT = 2; |
||||
/** |
||||
* 自制玻璃饼 |
||||
*/ |
||||
public static Short SIN_TER_TYPE_BLB = 3; |
||||
/** |
||||
* 其他 |
||||
*/ |
||||
public static Short SIN_TER_TYPE_QT = 4; |
||||
/** |
||||
* 石墨模 |
||||
*/ |
||||
public static Short SIN_TER_TYPE_SMM = 5; |
||||
public static Map<String, String> subTypeMap = new HashMap<>(6); |
||||
public static Map<Short, String> sinTerTypeMap = new HashMap<>(6); |
||||
|
||||
static { |
||||
subTypeMap.put("A", "组合件"); |
||||
subTypeMap.put("M", "零件"); |
||||
subTypeMap.put("R", "原材料"); |
||||
subTypeMap.put("B", "外购件"); |
||||
subTypeMap.put("P", "虚拟件"); |
||||
subTypeMap.put("G", "产品"); |
||||
|
||||
sinTerTypeMap.put(SIN_TER_TYPE_CZ, "插针"); |
||||
sinTerTypeMap.put(SIN_TER_TYPE_KT, "壳体"); |
||||
sinTerTypeMap.put(SIN_TER_TYPE_BLB, "自制玻璃饼"); |
||||
sinTerTypeMap.put(SIN_TER_TYPE_QT, "其他"); |
||||
sinTerTypeMap.put(SIN_TER_TYPE_SMM, "石墨模"); |
||||
} |
||||
|
||||
/** |
||||
* 流水号 |
||||
*/ |
||||
private Long psId; |
||||
/** |
||||
* 零件号 |
||||
*/ |
||||
private String partCode; |
||||
/** |
||||
* 子件号 |
||||
*/ |
||||
private String subCode; |
||||
/** |
||||
* 子件名称 |
||||
*/ |
||||
private String subName; |
||||
/** |
||||
* 定额 |
||||
*/ |
||||
private Double quota; |
||||
/** |
||||
* 子件类型 |
||||
* A代表组合件,M代表零件,R代表原材料,B代表外购件,P代表虚拟件,G代表产品 |
||||
*/ |
||||
private String subType; |
||||
/** |
||||
* 烧结子件种类 |
||||
* 1插针,2壳体,3自制玻璃饼,4其它,5石墨模 |
||||
*/ |
||||
private Integer sinTerType; |
||||
/** |
||||
* 材料 |
||||
*/ |
||||
private String material; |
||||
/** |
||||
* 面积 |
||||
*/ |
||||
private Double area; |
||||
/** |
||||
* 镀种 |
||||
*/ |
||||
private String plate; |
||||
/** |
||||
* 产品系列 |
||||
*/ |
||||
private String productType; |
||||
/** |
||||
* 镀层代号 |
||||
*/ |
||||
private String plateCode; |
||||
/** |
||||
* 镀层厚度 |
||||
*/ |
||||
private String plateThickness; |
||||
/** |
||||
* 修改时间 |
||||
*/ |
||||
private Date updateTime; |
||||
|
||||
/** |
||||
* 配置码 |
||||
*/ |
||||
private String configNo; |
||||
/** |
||||
* 备注 |
||||
*/ |
||||
private String memo; |
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package org.springblade.desk.dashboard.pojo.enums; |
||||
|
||||
/** |
||||
* @author: liweidong |
||||
* @create: 2026-03-18 |
||||
*/ |
||||
public enum PartCraftStatusEnum { |
||||
SUCCESS("0", "查询成功"), |
||||
PART_CODE_EMPTY("-6", "partCode不能为空"), |
||||
ROAM_NO_EMPTY("-7", "roamNo不能为空"), |
||||
PART_NOT_EXIST("-1", "零件信息为空"), |
||||
PART_EXPIRED("-2", "零件超期"), |
||||
NO_CRAFT_INFO("-3", "没有工艺信息,创建维护任务"), |
||||
NO_PROCEDURE_INFO("-4", "没有工序信息"), |
||||
NO_CRAFT_RANK_INFO("-5", "没有工艺等级信息"); |
||||
|
||||
private final String code; |
||||
private final String msg; |
||||
|
||||
PartCraftStatusEnum(String code, String msg) { |
||||
this.code = code; |
||||
this.msg = msg; |
||||
} |
||||
|
||||
public String getCode() { |
||||
return code; |
||||
} |
||||
|
||||
public String getMsg() { |
||||
return msg; |
||||
} |
||||
} |
||||
@ -0,0 +1,28 @@ |
||||
package org.springblade.desk.dashboard.pojo.vo; |
||||
|
||||
import lombok.Data; |
||||
import org.springblade.desk.dashboard.pojo.entity.DsCraftEntity; |
||||
|
||||
|
||||
@Data |
||||
public class PartCraftVO { |
||||
|
||||
|
||||
private String code; |
||||
|
||||
private DsCraftEntity craft; |
||||
|
||||
|
||||
public static PartCraftVO build(String code, DsCraftEntity craft) { |
||||
PartCraftVO vo = new PartCraftVO(); |
||||
vo.setCode(code); |
||||
vo.setCraft(craft); |
||||
return vo; |
||||
} |
||||
|
||||
public static PartCraftVO build(String code) { |
||||
PartCraftVO vo = new PartCraftVO(); |
||||
vo.setCode(code); |
||||
return vo; |
||||
} |
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package org.springblade.desk.order.feign; |
||||
|
||||
import org.springblade.core.launch.constant.AppConstant; |
||||
import org.springblade.desk.order.pojo.entity.MoldDemand; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
||||
/** |
||||
* 模具计划接口声明 |
||||
* |
||||
* @author lqk |
||||
*/ |
||||
@FeignClient( |
||||
value = AppConstant.APPLICATION_DESK_NAME |
||||
) |
||||
public interface IMoldDemandClient { |
||||
|
||||
String API_PREFIX = "/feign/moldDemand/"; |
||||
|
||||
String SAVE = API_PREFIX + "/save"; |
||||
|
||||
|
||||
/** |
||||
* 生成模具计划 |
||||
* |
||||
* @param moldDemand |
||||
* @return |
||||
*/ |
||||
@GetMapping(SAVE) |
||||
Boolean save(MoldDemand moldDemand); |
||||
|
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package org.springblade.desk.order.feign; |
||||
|
||||
import org.springblade.core.launch.constant.AppConstant; |
||||
import org.springblade.desk.order.pojo.entity.YieldPlan; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
||||
/** |
||||
* 模具计划接口声明 |
||||
* |
||||
* @author lqk |
||||
*/ |
||||
@FeignClient( |
||||
value = AppConstant.APPLICATION_DESK_NAME |
||||
) |
||||
public interface IOrderClient { |
||||
|
||||
String API_PREFIX = "/feign/order/"; |
||||
|
||||
String SAVE_GLASS_CAKE = API_PREFIX + "/saveGlassCake"; |
||||
|
||||
|
||||
/** |
||||
* 生成玻璃饼烧结计划并下达 |
||||
* |
||||
* @param yieldPlan |
||||
* @return |
||||
*/ |
||||
@GetMapping(SAVE_GLASS_CAKE) |
||||
Boolean saveGlassCake(YieldPlan yieldPlan); |
||||
|
||||
} |
||||
@ -0,0 +1,50 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* 设备绑定 数据传输对象实体类 |
||||
* @author litao |
||||
*/ |
||||
@Data |
||||
public class DeviceBindDTO { |
||||
|
||||
@Schema(description = "工序ID集合") |
||||
private String planListIds; |
||||
|
||||
@Schema(description = "挂具ID") |
||||
private Long rsId; |
||||
|
||||
@Schema(description = "挂具ID集合") |
||||
private String rsList; |
||||
|
||||
@Schema(description = "飞靶ID") |
||||
private Long fsId; |
||||
|
||||
@Schema(description = "飞靶ID集合") |
||||
private String fsList; |
||||
|
||||
@Schema(description = "设备ID") |
||||
private Long ecId; |
||||
|
||||
@Schema(description = "挂次号") |
||||
private String hangNum; |
||||
|
||||
@Schema(description = "挂次号id") |
||||
private Long hangNumId; |
||||
|
||||
@Schema(description = "是否解绑") |
||||
private String unFsBool; |
||||
|
||||
@Schema(description = "掺镀件面积") |
||||
private String dopedParts; |
||||
|
||||
@Schema(description = "网面积") |
||||
private String net; |
||||
|
||||
@Schema(description = "挂具面积") |
||||
private String rack; |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,157 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
import java.util.List; |
||||
|
||||
public class PrintChildCheck implements java.io.Serializable { |
||||
|
||||
/** |
||||
* @return 序号 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 10:24 |
||||
*/ |
||||
private String testOrders; |
||||
/** |
||||
* @return 检验细项 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/8 16:22 |
||||
*/ |
||||
private List<PrintChildCheckChild> cccList; |
||||
|
||||
/** |
||||
* @return 抽样数 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:25 |
||||
*/ |
||||
private String checkQty; |
||||
/** |
||||
* @return 合格,不合格,NA |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:25 |
||||
*/ |
||||
private String checkResult; |
||||
/** |
||||
* @return 姓名 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:25 |
||||
*/ |
||||
private String checkName; |
||||
/** |
||||
* @return 检验日期 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:25 |
||||
*/ |
||||
private String checkDate; |
||||
|
||||
/** |
||||
* 试验数量 |
||||
*/ |
||||
private String testQty; |
||||
/** |
||||
* @return 检测项目名称 |
||||
*/ |
||||
private String testName; |
||||
/** |
||||
* @return 检测项目实验标准 |
||||
*/ |
||||
private String trialStandard; |
||||
|
||||
/** |
||||
* @return 设备编码 |
||||
*/ |
||||
private String deviceCode; |
||||
|
||||
/** |
||||
* @return 检验印章URL |
||||
*/ |
||||
private String imgUrl; |
||||
public String getTestOrders() { |
||||
return testOrders; |
||||
} |
||||
|
||||
public void setTestOrders(String testOrders) { |
||||
this.testOrders = testOrders; |
||||
} |
||||
|
||||
public String getCheckQty() { |
||||
return checkQty; |
||||
} |
||||
|
||||
public void setCheckQty(String checkQty) { |
||||
this.checkQty = checkQty; |
||||
} |
||||
|
||||
public String getCheckName() { |
||||
return checkName; |
||||
} |
||||
|
||||
public void setCheckName(String checkName) { |
||||
this.checkName = checkName; |
||||
} |
||||
|
||||
public String getCheckDate() { |
||||
return checkDate; |
||||
} |
||||
|
||||
public void setCheckDate(String checkDate) { |
||||
this.checkDate = checkDate; |
||||
} |
||||
|
||||
public String getCheckResult() { |
||||
return checkResult; |
||||
} |
||||
|
||||
public void setCheckResult(String checkResult) { |
||||
this.checkResult = checkResult; |
||||
} |
||||
|
||||
public List<PrintChildCheckChild> getCccList() { |
||||
return cccList; |
||||
} |
||||
|
||||
public void setCccList(List<PrintChildCheckChild> cccList) { |
||||
this.cccList = cccList; |
||||
} |
||||
|
||||
public String getTestQty() { |
||||
return testQty; |
||||
} |
||||
|
||||
public void setTestQty(String testQty) { |
||||
this.testQty = testQty; |
||||
} |
||||
|
||||
public String getTestName() { |
||||
return testName; |
||||
} |
||||
|
||||
public void setTestName(String testName) { |
||||
this.testName = testName; |
||||
} |
||||
|
||||
public String getTrialStandard() { |
||||
return trialStandard; |
||||
} |
||||
|
||||
public void setTrialStandard(String trialStandard) { |
||||
this.trialStandard = trialStandard; |
||||
} |
||||
|
||||
public String getDeviceCode() { |
||||
return deviceCode; |
||||
} |
||||
|
||||
public void setDeviceCode(String deviceCode) { |
||||
this.deviceCode = deviceCode; |
||||
} |
||||
|
||||
public PrintChildCheck() { |
||||
} |
||||
|
||||
public String getImgUrl() { |
||||
return imgUrl; |
||||
} |
||||
|
||||
public void setImgUrl(String imgUrl) { |
||||
this.imgUrl = imgUrl; |
||||
} |
||||
} |
||||
@ -0,0 +1,91 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
/** |
||||
* @version V1.0 |
||||
* @Title: PrintChildCheckChild |
||||
* @Author: dxl |
||||
* @CreateTime: 2022/11/8 16:18 |
||||
*/ |
||||
public class PrintChildCheckChild implements java.io.Serializable { |
||||
|
||||
/** |
||||
* @return 名称 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 10:24 |
||||
*/ |
||||
private String testName; |
||||
/** |
||||
* @return 实验标准 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 10:34 |
||||
*/ |
||||
private String trialStandard; |
||||
/** |
||||
* @return 检验值 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 10:34 |
||||
*/ |
||||
private String checkValue; |
||||
/** |
||||
* @return 设备量具 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 10:24 |
||||
*/ |
||||
private String emTools; |
||||
/** |
||||
* @return 检验项Id |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/8 17:09 |
||||
*/ |
||||
private Long wpiId; |
||||
|
||||
public String getTestName() { |
||||
return testName; |
||||
} |
||||
|
||||
public void setTestName(String testName) { |
||||
this.testName = testName; |
||||
} |
||||
|
||||
public String getEmTools() { |
||||
return emTools; |
||||
} |
||||
|
||||
public void setEmTools(String emTools) { |
||||
this.emTools = emTools; |
||||
} |
||||
|
||||
public String getTrialStandard() { |
||||
return trialStandard; |
||||
} |
||||
|
||||
public void setTrialStandard(String trialStandard) { |
||||
this.trialStandard = trialStandard; |
||||
} |
||||
|
||||
public String getCheckValue() { |
||||
return checkValue; |
||||
} |
||||
|
||||
public void setCheckValue(String checkValue) { |
||||
this.checkValue = checkValue; |
||||
} |
||||
|
||||
public Long getWpiId() { |
||||
return wpiId; |
||||
} |
||||
|
||||
public void setWpiId(Long wpiId) { |
||||
this.wpiId = wpiId; |
||||
} |
||||
|
||||
public PrintChildCheckChild(String testName, String trialStandard, String checkValue, Long wpiId) { |
||||
this.testName = testName; |
||||
this.trialStandard = trialStandard; |
||||
this.checkValue = checkValue; |
||||
this.wpiId = wpiId; |
||||
} |
||||
|
||||
public PrintChildCheckChild() { |
||||
} |
||||
} |
||||
@ -0,0 +1,132 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
public class PrintThicknessChildCraft implements java.io.Serializable { |
||||
/** |
||||
* @return 程式编号 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String code; |
||||
/** |
||||
* @return 名称一 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String gauge_value1; |
||||
/** |
||||
* @return 参数一 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
|
||||
private String gauge_value2; |
||||
/** |
||||
* @return 名称二 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String gauge_value3; |
||||
/** |
||||
* @return 参数二 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String gauge_value4; |
||||
/** |
||||
* @return 名称三 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String gauge_value5; |
||||
/** |
||||
* @return 参数三 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
|
||||
private String gauge_value6; |
||||
/** |
||||
* @return 名称设备编码 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String deviceName; |
||||
/** |
||||
* @return 参数检测时间 |
||||
* @Author dxl |
||||
* @CreateTime 2022/11/7 9:29 |
||||
*/ |
||||
private String update_time; |
||||
|
||||
public String getCode() { |
||||
return code; |
||||
} |
||||
|
||||
public void setCode(String code) { |
||||
this.code = code; |
||||
} |
||||
|
||||
public String getGauge_value1() { |
||||
return gauge_value1; |
||||
} |
||||
|
||||
public void setGauge_value1(String gauge_value1) { |
||||
this.gauge_value1 = gauge_value1; |
||||
} |
||||
|
||||
public String getGauge_value2() { |
||||
return gauge_value2; |
||||
} |
||||
|
||||
public void setGauge_value2(String gauge_value2) { |
||||
this.gauge_value2 = gauge_value2; |
||||
} |
||||
|
||||
public String getGauge_value3() { |
||||
return gauge_value3; |
||||
} |
||||
|
||||
public void setGauge_value3(String gauge_value3) { |
||||
this.gauge_value3 = gauge_value3; |
||||
} |
||||
|
||||
public String getGauge_value4() { |
||||
return gauge_value4; |
||||
} |
||||
|
||||
public void setGauge_value4(String gauge_value4) { |
||||
this.gauge_value4 = gauge_value4; |
||||
} |
||||
|
||||
public String getGauge_value5() { |
||||
return gauge_value5; |
||||
} |
||||
|
||||
public void setGauge_value5(String gauge_value5) { |
||||
this.gauge_value5 = gauge_value5; |
||||
} |
||||
|
||||
public String getGauge_value6() { |
||||
return gauge_value6; |
||||
} |
||||
|
||||
public void setGauge_value6(String gauge_value6) { |
||||
this.gauge_value6 = gauge_value6; |
||||
} |
||||
|
||||
public String getDeviceName() { |
||||
return deviceName; |
||||
} |
||||
|
||||
public void setDeviceName(String deviceName) { |
||||
this.deviceName = deviceName; |
||||
} |
||||
|
||||
public String getUpdate_time() { |
||||
return update_time; |
||||
} |
||||
|
||||
public void setUpdate_time(String update_time) { |
||||
this.update_time = update_time; |
||||
} |
||||
} |
||||
@ -0,0 +1,121 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
import java.util.List; |
||||
|
||||
|
||||
public class PrintThicknessCraftCard implements java.io.Serializable { |
||||
/** |
||||
* @Description: 测厚明细 |
||||
* @Author cdl |
||||
* @CreateTime 2024/3/7 11:08 |
||||
*/ |
||||
List<PrintThicknessChildCraft> thicknessList; |
||||
/** |
||||
* 主槽流程卡号 |
||||
*/ |
||||
private String mainCardNo; |
||||
/** |
||||
* 主槽零件号 |
||||
*/ |
||||
private String mainPartCode; |
||||
/** |
||||
* 主槽批次号 |
||||
*/ |
||||
private String mainBatchNo; |
||||
/** |
||||
* 主槽车间订单号 |
||||
*/ |
||||
private String mainWoCode; |
||||
/** |
||||
* 流程卡号 |
||||
*/ |
||||
private String cardNo; |
||||
/** |
||||
* 零件号 |
||||
*/ |
||||
private String partCode; |
||||
/** |
||||
* 批次号 |
||||
*/ |
||||
private String batchNo; |
||||
/** |
||||
* 车间订单号 |
||||
*/ |
||||
private String woCode; |
||||
|
||||
public PrintThicknessCraftCard(List<PrintThicknessChildCraft> thicknessList) { |
||||
this.thicknessList = thicknessList; |
||||
} |
||||
|
||||
public List<PrintThicknessChildCraft> getThicknessList() { |
||||
return thicknessList; |
||||
} |
||||
|
||||
public void setThicknessList(List<PrintThicknessChildCraft> thicknessList) { |
||||
this.thicknessList = thicknessList; |
||||
} |
||||
|
||||
public String getCardNo() { |
||||
return cardNo; |
||||
} |
||||
|
||||
public void setCardNo(String cardNo) { |
||||
this.cardNo = cardNo; |
||||
} |
||||
|
||||
public String getPartCode() { |
||||
return partCode; |
||||
} |
||||
|
||||
public void setPartCode(String partCode) { |
||||
this.partCode = partCode; |
||||
} |
||||
|
||||
public String getBatchNo() { |
||||
return batchNo; |
||||
} |
||||
|
||||
public void setBatchNo(String batchNo) { |
||||
this.batchNo = batchNo; |
||||
} |
||||
|
||||
public String getWoCode() { |
||||
return woCode; |
||||
} |
||||
|
||||
public void setWoCode(String woCode) { |
||||
this.woCode = woCode; |
||||
} |
||||
|
||||
public String getMainCardNo() { |
||||
return mainCardNo; |
||||
} |
||||
|
||||
public void setMainCardNo(String mainCardNo) { |
||||
this.mainCardNo = mainCardNo; |
||||
} |
||||
|
||||
public String getMainPartCode() { |
||||
return mainPartCode; |
||||
} |
||||
|
||||
public void setMainPartCode(String mainPartCode) { |
||||
this.mainPartCode = mainPartCode; |
||||
} |
||||
|
||||
public String getMainBatchNo() { |
||||
return mainBatchNo; |
||||
} |
||||
|
||||
public void setMainBatchNo(String mainBatchNo) { |
||||
this.mainBatchNo = mainBatchNo; |
||||
} |
||||
|
||||
public String getMainWoCode() { |
||||
return mainWoCode; |
||||
} |
||||
|
||||
public void setMainWoCode(String mainWoCode) { |
||||
this.mainWoCode = mainWoCode; |
||||
} |
||||
} |
||||
@ -0,0 +1,15 @@ |
||||
package org.springblade.desk.produce.pojo.dto; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import lombok.Data; |
||||
import org.springblade.desk.produce.pojo.vo.ProduceMonitorSlotListVO; |
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
public class TaskDataDto { |
||||
private String cdjArea; |
||||
private String pdjArea; |
||||
private String gjArea; |
||||
private List<ProduceMonitorSlotListVO> slotList; |
||||
} |
||||
@ -0,0 +1,79 @@ |
||||
package org.springblade.desk.produce.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.io.Serial; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 额外信息存储 实体类 |
||||
* @author litao |
||||
*/ |
||||
@Data |
||||
@TableName("MES_BS_ADDITIONAL_MESS") |
||||
@Schema(description = "BsAdditionalMess对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class BsAdditionalMess extends BaseEntity { |
||||
/** |
||||
* 同槽增加额外面积 |
||||
*/ |
||||
public static Short TYPE_ONE = 1; |
||||
|
||||
/** |
||||
* 试验项目名称 |
||||
*/ |
||||
public static Short TYPE_TEST_PROJECT_TYPE = 2; |
||||
|
||||
/** |
||||
* 试验项目标准 |
||||
*/ |
||||
public static Short TYPE_TEST_PROJECT_STANDARD_TYPE = 3; |
||||
|
||||
/** |
||||
* 玻璃饼最低库存 |
||||
*/ |
||||
public static Short TYPE_BLB_MIN_STOCK = 4; |
||||
|
||||
/** |
||||
* 模块说明 |
||||
*/ |
||||
public static Short TYPE_MODULE_DETAIL = 5; |
||||
|
||||
/** |
||||
* 年度数据存储 |
||||
*/ |
||||
public static Short TYPE_YEAR_DATA = 6; |
||||
|
||||
/** |
||||
* 班组准时率 |
||||
*/ |
||||
public static Short TYPE_TEAM_PUNCTUALITY = 7; |
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@Schema(description = "数据1") |
||||
private String oneData; |
||||
|
||||
@Schema(description = "数据2") |
||||
private String twoData; |
||||
|
||||
@Schema(description = "数据3") |
||||
private String threeData; |
||||
|
||||
@Schema(description = "数据4") |
||||
private String fourData; |
||||
|
||||
@Schema(description = "业务类别") |
||||
private Short type; |
||||
|
||||
@Schema(description = "小数类型-数据1") |
||||
private Double douOneData = 0d; |
||||
|
||||
@Schema(description = "备注") |
||||
private String memo; |
||||
|
||||
} |
||||
@ -0,0 +1,56 @@ |
||||
package org.springblade.desk.produce.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.io.Serial; |
||||
import java.time.LocalDate; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* |
||||
* @author litao |
||||
*/ |
||||
@Data |
||||
@TableName("DS_RB_FILE_PRESERVE") |
||||
@Schema(description = "DsRbFilePreserve对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class DsRbFilePreserve extends BaseEntity { |
||||
|
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@Schema(description = "作业中心") |
||||
private Long wcId; |
||||
|
||||
@Schema(description = "工序") |
||||
private Long ppsId; |
||||
|
||||
@Schema(description = "线上线下") |
||||
private String line; |
||||
|
||||
@Schema(description = "维护时间") |
||||
private LocalDate keepTime; |
||||
|
||||
@Schema(description = "维护人") |
||||
private Long keepMan; |
||||
|
||||
@Schema(description = "名称") |
||||
private String name; |
||||
|
||||
|
||||
@Schema(description = "审批状态") |
||||
private Short approvalStatus = -1; |
||||
|
||||
@Schema(description = "状态") |
||||
private Short rfpStatus = 1; |
||||
|
||||
@Schema(description = "升版ID") |
||||
private String versionId; |
||||
|
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,114 @@ |
||||
package org.springblade.desk.produce.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.util.Date; |
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* 移交记录 实体类 |
||||
* @author BladeX |
||||
*/ |
||||
@Data |
||||
@TableName("MES_HANDOVER_RECORD") |
||||
@Schema(description = "HandoverRecord对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class HandoverRecord extends BaseEntity { |
||||
|
||||
/** |
||||
* 入库单 |
||||
*/ |
||||
public static Short HR_TYPE_IN_WAREHOUSE = 0; |
||||
/** |
||||
* 转工单 |
||||
*/ |
||||
public static Short HR_TYPE_TRANSFER = 1; |
||||
/** |
||||
* 待移交 |
||||
*/ |
||||
public static Integer RUN_STATUS_WAIT = 1; |
||||
/** |
||||
* 完成 |
||||
*/ |
||||
public static Integer RUN_STATUS_COMPLETE = 2; |
||||
public static Map<Short, String> hrTypeMap = new HashMap<Short, String>(2); |
||||
public static Map<Integer, String> runStatusMap = new HashMap<Integer, String>(2); |
||||
|
||||
static { |
||||
hrTypeMap.put(HR_TYPE_IN_WAREHOUSE, "入库单"); |
||||
hrTypeMap.put(HR_TYPE_TRANSFER, "转工单"); |
||||
} |
||||
|
||||
static { |
||||
runStatusMap.put(RUN_STATUS_WAIT, "待移交"); |
||||
runStatusMap.put(RUN_STATUS_COMPLETE, "完成"); |
||||
} |
||||
|
||||
@Schema(description = "单号") |
||||
private String hrCode; |
||||
|
||||
@Schema(description = "移交类型") |
||||
private Short hrType; |
||||
|
||||
@Schema(description = "车间Id") |
||||
private Long woId; |
||||
|
||||
@Schema(description = "车间订单号") |
||||
private String woCode; |
||||
|
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
|
||||
@Schema(description = "路线卡号") |
||||
private String cardNo; |
||||
|
||||
@Schema(description = "生产标识") |
||||
private String prodIdent; |
||||
|
||||
@Schema(description = "批次号") |
||||
private String batchNo; |
||||
|
||||
@Schema(description = "移交部门") |
||||
private String handoverUnit; |
||||
|
||||
@Schema(description = "移交数量") |
||||
private Double handoverQty; |
||||
|
||||
@Schema(description = "一级工序(B号)") |
||||
private String roamNo; |
||||
|
||||
@Schema(description = "接收部门") |
||||
private String recDept; |
||||
|
||||
@Schema(description = "备注") |
||||
private String memo; |
||||
|
||||
@Schema(description = "打印时间") |
||||
private Date printTime; |
||||
|
||||
@Schema(description = "打印标记") |
||||
private Integer printFlag; |
||||
|
||||
@Schema(description = "外协交件单号") |
||||
private String deliverKey; |
||||
|
||||
@TableField(exist = false) |
||||
@Schema(description = "移交类型") |
||||
private String hrTypeName; |
||||
|
||||
@TableField(exist = false) |
||||
@Schema(description = "状态") |
||||
private String statusName; |
||||
|
||||
@TableField(exist = false) |
||||
@Schema(description = "移交人员") |
||||
private String createName; |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,95 @@ |
||||
package org.springblade.desk.produce.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* 当前工序和挂具、飞拔、设备绑定数据模型 视图实体类 |
||||
* |
||||
* @author BladeX |
||||
* @since 2026-02-04 |
||||
*/ |
||||
@Data |
||||
public class BindModelVO { |
||||
|
||||
/** |
||||
* id |
||||
*/ |
||||
@Schema(description = "id") |
||||
private Long id; |
||||
/** |
||||
* 车间订单号 |
||||
*/ |
||||
@Schema(description = "车间订单号") |
||||
private String woCode; |
||||
/** |
||||
* 镀种 |
||||
*/ |
||||
@Schema(description = "镀种") |
||||
private String plate; |
||||
/** |
||||
* 计划员 |
||||
*/ |
||||
@Schema(description = "计划员") |
||||
private String planUser; |
||||
/** |
||||
* 加工状态 |
||||
*/ |
||||
@Schema(description = "加工状态") |
||||
private String runStatus; |
||||
/** |
||||
* 批次号 |
||||
*/ |
||||
@Schema(description = "批次号") |
||||
private String batchNo; |
||||
/** |
||||
* 加工数量 |
||||
*/ |
||||
@Schema(description = "加工数量") |
||||
private Double makeQty; |
||||
/** |
||||
* 零件号 |
||||
*/ |
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
/** |
||||
* 产品名称 |
||||
*/ |
||||
@Schema(description = "产品名称") |
||||
private String partName; |
||||
/** |
||||
* 班组 |
||||
*/ |
||||
@Schema(description = "班组") |
||||
private String makeTeam; |
||||
/** |
||||
* 当前工序号 |
||||
*/ |
||||
@Schema(description = "当前工序号") |
||||
private String orders; |
||||
/** |
||||
* 当前工序名称 |
||||
*/ |
||||
@Schema(description = "当前工序名称") |
||||
private String ppsName; |
||||
/** |
||||
* 下序工序号 |
||||
*/ |
||||
@Schema(description = "下序工序号") |
||||
private String nextOrders; |
||||
/** |
||||
* 下序名称 |
||||
*/ |
||||
@Schema(description = "下序名称") |
||||
private String nextPpsName; |
||||
/** |
||||
* 生产标识 |
||||
*/ |
||||
@Schema(description = "生产标识") |
||||
private String prodIdent; |
||||
/** |
||||
* 面积 |
||||
*/ |
||||
@Schema(description = "面积") |
||||
private Double area; |
||||
} |
||||
@ -0,0 +1,18 @@ |
||||
package org.springblade.desk.produce.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import org.springblade.desk.produce.pojo.entity.DsRbFilePreserve; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 加工记录 视图实体类 |
||||
* |
||||
* @author BladeX |
||||
* @since 2026-02-04 |
||||
*/ |
||||
@Data |
||||
public class DsRbFilePreserveVO extends DsRbFilePreserve { |
||||
|
||||
} |
||||
@ -0,0 +1,44 @@ |
||||
package org.springblade.desk.produce.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 设备,工装使用记录 视图实体类 |
||||
* |
||||
* @author BladeX |
||||
* @since 2026-02-04 |
||||
*/ |
||||
@Data |
||||
public class MacToolUseVO { |
||||
|
||||
@Schema(description = "使用记录ID") |
||||
private Long mtuId; |
||||
/** |
||||
* 零件号 |
||||
*/ |
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
/** |
||||
* 批次号 |
||||
*/ |
||||
@Schema(description = "批次号") |
||||
private String batchNo; |
||||
/** |
||||
* 数量 |
||||
*/ |
||||
@Schema(description = "数量") |
||||
private String quantity; |
||||
/** |
||||
* 时间 |
||||
*/ |
||||
@Schema(description = "时间") |
||||
private String createTime; |
||||
/** |
||||
* 设备 |
||||
*/ |
||||
@Schema(description = "设备编号") |
||||
private String deviceCode; |
||||
} |
||||
@ -0,0 +1,152 @@ |
||||
package org.springblade.desk.produce.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* 入库单打印模型 视图实体类 |
||||
* |
||||
* @author litao |
||||
* @since 2026-2-27 |
||||
*/ |
||||
@Data |
||||
public class PrintWarehousingVO { |
||||
|
||||
/** |
||||
* 入库单号 |
||||
*/ |
||||
@Schema(description = "入库单号") |
||||
private String hrCode; |
||||
/** |
||||
* 工作单号 生产订单计划单号 |
||||
*/ |
||||
@Schema(description = "工作单号 生产订单计划单号") |
||||
private String poCode; |
||||
/** |
||||
* 车间单号 |
||||
*/ |
||||
@Schema(description = "车间单号") |
||||
private String woCode; |
||||
/** |
||||
* 计划部门 生产订单使用部门 |
||||
*/ |
||||
@Schema(description = "计划部门 生产订单使用部门") |
||||
private String useDept; |
||||
/** |
||||
* 镀钟 生产订单 |
||||
*/ |
||||
@Schema(description = "镀钟 生产订单") |
||||
private String plate; |
||||
/** |
||||
* 生产标识 生产订单 |
||||
*/ |
||||
@Schema(description = "生产标识") |
||||
private String prodIdent; |
||||
/** |
||||
* 型别 生产订单产品型号 |
||||
*/ |
||||
@Schema(description = "产品型号") |
||||
private String productTypePart; |
||||
/** |
||||
* 零件号 生产订单 |
||||
*/ |
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
/** |
||||
* 名称 生产订单 |
||||
*/ |
||||
@Schema(description = "名称") |
||||
private String partName; |
||||
/** |
||||
* 产品系列 pj_bom |
||||
*/ |
||||
@Schema(description = "产品系列") |
||||
private String productType; |
||||
/** |
||||
* 原编码 pj_bom |
||||
*/ |
||||
@Schema(description = "原编码") |
||||
private String oldCode; |
||||
/** |
||||
* 计划数量 生产订单加工数量 |
||||
*/ |
||||
@Schema(description = "计划数量") |
||||
private String makeQty; |
||||
/** |
||||
* 重量 镀前镀后 |
||||
*/ |
||||
@Schema(description = "重量") |
||||
private Double weight; |
||||
/** |
||||
* 批次号 车间订单 |
||||
*/ |
||||
@Schema(description = "批次号") |
||||
private String batchNo; |
||||
/** |
||||
* 提交数量 移交记录移交数量 |
||||
*/ |
||||
@Schema(description = "提交数量") |
||||
private String handoverQty; |
||||
/** |
||||
* 车间提交人 移交记录移交人 |
||||
*/ |
||||
@Schema(description = "车间提交人") |
||||
private String createMan; |
||||
/** |
||||
* 计划员 生产订单 |
||||
*/ |
||||
@Schema(description = "计划员") |
||||
private String planUser; |
||||
/** |
||||
* 使用部门 |
||||
*/ |
||||
@Schema(description = "使用部门") |
||||
private String recDept; |
||||
/** |
||||
* 制表日期 |
||||
*/ |
||||
@Schema(description = "制表日期") |
||||
private String tableDate; |
||||
/** |
||||
* 备注 |
||||
*/ |
||||
@Schema(description = "备注") |
||||
private String memo; |
||||
/** |
||||
* 保管员 |
||||
*/ |
||||
@Schema(description = "保管员") |
||||
private String custodian; |
||||
/** |
||||
* 委托车间 |
||||
*/ |
||||
@Schema(description = "委托车间") |
||||
private String entrustDept; |
||||
/** |
||||
* 废品数 |
||||
*/ |
||||
@Schema(description = "废品数") |
||||
private String scrapQty = "0"; |
||||
/** |
||||
* 试验数 |
||||
*/ |
||||
@Schema(description = "试验数") |
||||
private String testQty = "0"; |
||||
/** |
||||
* 消耗数 |
||||
*/ |
||||
@Schema(description = "消耗数") |
||||
private String useQty = "0"; |
||||
/** |
||||
* 类型 |
||||
*/ |
||||
@Schema(description = "类型") |
||||
private Short hrType; |
||||
/** |
||||
* 工艺路线 |
||||
*/ |
||||
@Schema(description = "工艺路线") |
||||
private String primaryCraft; |
||||
} |
||||
@ -1,25 +1,59 @@ |
||||
package org.springblade.desk.produce.pojo.vo; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author litao |
||||
*/ |
||||
@Data |
||||
public class SjEcBingCardVo { |
||||
|
||||
@Schema(description = "设备ID") |
||||
private Long ecId; |
||||
|
||||
@Schema(description = "") |
||||
private String operate; |
||||
|
||||
@Schema(description = "此次绑定数量") |
||||
private String bindNum; |
||||
|
||||
@Schema(description = "此次绑定设定的温度") |
||||
private String heat; |
||||
|
||||
@Schema(description = "工序名称") |
||||
private String ppsName; |
||||
|
||||
@Schema(description = "工序ID集合") |
||||
private List<Long> planList; |
||||
|
||||
@Schema(description = "") |
||||
private String rsName; |
||||
|
||||
@Schema(description = "") |
||||
private String oneData; |
||||
|
||||
@Schema(description = "") |
||||
private String twoData; |
||||
|
||||
@Schema(description = "") |
||||
private String threeData; |
||||
|
||||
@Schema(description = "") |
||||
private String fourData; |
||||
|
||||
@Schema(description = "") |
||||
private String fiveData; |
||||
|
||||
@Schema(description = "") |
||||
private String sixData; |
||||
|
||||
@Schema(description = "") |
||||
private String sevenData; |
||||
|
||||
@Schema(description = "") |
||||
private String eightData; |
||||
|
||||
} |
||||
|
||||
@ -0,0 +1,162 @@ |
||||
package org.springblade.desk.quality.pojo.dto; |
||||
|
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @ClassName PpmReportDetailModel |
||||
* @Description: 出厂不合格率明细模型 |
||||
* @Author cdl |
||||
* @Date 2023/12/08 13:37 |
||||
* @Version 1.0 |
||||
* 注意:本内容仅限于内部传阅,禁止外泄及用于其他的商业目的 |
||||
*/ |
||||
@Data |
||||
public class PpmReportDetailDTO { |
||||
/** |
||||
* 班组 |
||||
*/ |
||||
private String tsName; |
||||
/** |
||||
* 审理单号 |
||||
*/ |
||||
private String sheetNo; |
||||
/** |
||||
* 审理单类型 |
||||
*/ |
||||
private String billmodel; |
||||
/** |
||||
* 审理单状态 |
||||
*/ |
||||
private String status; |
||||
/** |
||||
* 发生单位 |
||||
*/ |
||||
private String deptcode; |
||||
/** |
||||
* 物料号 |
||||
*/ |
||||
private String prtno; |
||||
/** |
||||
* 物料名称 |
||||
*/ |
||||
private String name; |
||||
/** |
||||
* 型号 |
||||
*/ |
||||
private String type; |
||||
/** |
||||
* 质量等级 |
||||
*/ |
||||
private String qstandno; |
||||
/** |
||||
* 批次号 |
||||
*/ |
||||
private String lotno; |
||||
/** |
||||
* 总数量 |
||||
*/ |
||||
private String cntt; |
||||
/** |
||||
* 不合格数 |
||||
*/ |
||||
private String cntn; |
||||
/** |
||||
* 检验员 |
||||
*/ |
||||
private String checker; |
||||
/** |
||||
* 检验日期 |
||||
*/ |
||||
private String checkdate; |
||||
/** |
||||
* 归档日期 |
||||
*/ |
||||
private String finishdate; |
||||
/** |
||||
* 责任部门 |
||||
*/ |
||||
private String layer1; |
||||
/** |
||||
* 审理单开始时间 |
||||
*/ |
||||
private String judgestart; |
||||
/** |
||||
* |
||||
*/ |
||||
private String opinion; |
||||
/** |
||||
* 审理级别 |
||||
*/ |
||||
private String userlevel; |
||||
/** |
||||
* 审理意见 |
||||
*/ |
||||
private String dispose; |
||||
/** |
||||
* 审理人 |
||||
*/ |
||||
private String usercode; |
||||
/** |
||||
* 返修数 |
||||
*/ |
||||
private String p6layer3; |
||||
/** |
||||
* 返工数 |
||||
*/ |
||||
private String p6layer4; |
||||
/** |
||||
* 报废数 |
||||
*/ |
||||
private String p6layer5; |
||||
/** |
||||
* 订单号 |
||||
*/ |
||||
private String sono; |
||||
/** |
||||
* 完工数 |
||||
*/ |
||||
private String avlqty; |
||||
/** |
||||
* 完工日期 |
||||
*/ |
||||
private String date1; |
||||
/** |
||||
* 责任零件 |
||||
*/ |
||||
private String p5layer1; |
||||
/** |
||||
* 责任批次 |
||||
*/ |
||||
private String p5layer3; |
||||
/** |
||||
* 发生工序 |
||||
*/ |
||||
private String process; |
||||
/** |
||||
* 发生工序名称 |
||||
*/ |
||||
private String processName; |
||||
/** |
||||
* 上级编号 |
||||
*/ |
||||
private String precode; |
||||
/** |
||||
* 返修路线 |
||||
*/ |
||||
private String reworkLine; |
||||
/** |
||||
* 故障描述 |
||||
*/ |
||||
private String memo; |
||||
|
||||
private String code; |
||||
private String useproc; |
||||
private String useseq; |
||||
private String redodeptcode; |
||||
private String p1remark; |
||||
private String disposename; |
||||
private String p2layer1; |
||||
private String chker; |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,52 @@ |
||||
package org.springblade.erpdata.feign; |
||||
|
||||
|
||||
import org.springblade.common.constant.LauncherConstant; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 外协相关erp操作Feign接口类 |
||||
* |
||||
* @author qyl |
||||
* @since 2026-02-27 |
||||
*/ |
||||
@FeignClient( |
||||
value = LauncherConstant.APPLICATION_ERP_DATA_NAME, |
||||
fallback = IErpDataOemClientFallback.class |
||||
) |
||||
public interface IErpYieldOrderClient { |
||||
|
||||
String API_PREFIX = "/feign/erp/yieldOrder"; |
||||
String SAVE_GLASS_CAKE = API_PREFIX + "/saveGlassCake"; |
||||
|
||||
/** |
||||
* 生成玻璃饼订单 |
||||
* |
||||
* @param yoCode |
||||
* @param cardNo |
||||
* @param batchNo |
||||
* @param prodIdent |
||||
* @param demandDate |
||||
* @param planUser |
||||
* @param ypCode |
||||
* @param poQty |
||||
* @param partCode |
||||
* @param quota |
||||
*/ |
||||
@GetMapping(SAVE_GLASS_CAKE) |
||||
void saveGlassCake(@RequestParam("yoCode") String yoCode, |
||||
@RequestParam("cardNo") String cardNo, |
||||
@RequestParam("batchNo") String batchNo, |
||||
@RequestParam("prodIdent") String prodIdent, |
||||
@RequestParam("demandDate") Date demandDate, |
||||
@RequestParam("planUser") String planUser, |
||||
@RequestParam("ypCode") String ypCode, |
||||
@RequestParam("poQty") Long poQty, |
||||
@RequestParam("partCode") String partCode, |
||||
@RequestParam("quota") Double quota); |
||||
|
||||
} |
||||
@ -0,0 +1,18 @@ |
||||
package org.springblade.erpdata.feign; |
||||
|
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* Feign接口类 |
||||
* |
||||
* @author liuqingkun |
||||
*/ |
||||
public class IErpYieldOrderClientFallback implements IErpYieldOrderClient { |
||||
|
||||
|
||||
@Override |
||||
public void saveGlassCake(String yoCode, String cardNo, String batchNo, String prodIdent, Date demandDate, String planUser, String ypCode, Long poQty, String partCode, Double quota) { |
||||
|
||||
} |
||||
} |
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue