mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
新增配件管理、板材详情
This commit is contained in:
+5
-3
@@ -65,9 +65,11 @@ public class ProcessGroupServiceImpl implements ProcessGroupService {
|
||||
// 判断重复
|
||||
int isCutting = 0;
|
||||
int isPacking = 0;
|
||||
if (createReqVO.getItems() != null) {
|
||||
if (createReqVO.getItems() == null) {
|
||||
throw exception(PROCESS_ITEM_NOT_EXISTS);
|
||||
}
|
||||
List<String> list = cuttingItems(createReqVO.getItems());
|
||||
if (list.size() > 0) {
|
||||
if (!list.isEmpty()) {
|
||||
for (String item : list) {
|
||||
ProcessDO process = processMapper.selectOneById(Long.valueOf(item), OrganContextHolder.getOrganId());
|
||||
if (process.getType() == ProcessTypeEnum.TYPE_ONE.getStatus()){
|
||||
@@ -78,7 +80,7 @@ public class ProcessGroupServiceImpl implements ProcessGroupService {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isCutting > 1){
|
||||
throw exception(PROCESS_GROUP_CUTTING_ERROR);
|
||||
}
|
||||
|
||||
@@ -77,6 +77,9 @@ spring:
|
||||
bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔
|
||||
elasticsearch:
|
||||
uris: 192.168.1.205:9200
|
||||
security-http-ssl-enable: false
|
||||
username: elastic
|
||||
password: admin.
|
||||
--- #################### 定时任务相关配置 ####################
|
||||
|
||||
xxl:
|
||||
|
||||
Reference in New Issue
Block a user