修改
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
输入.qzzno TYPEAS s_string
|
输入.qzzno TYPEAS s_string
|
||||||
输入.sort_seq TYPEAS s_string
|
输入.sort_seq TYPEAS s_string
|
||||||
输入.point_location TYPEAS s_string
|
输入.point_location TYPEAS s_string
|
||||||
输入.sql_str TYPEAS f_string
|
输入.sql_str TYPEAS f_string
|
||||||
|
|
||||||
|
|
||||||
[临时表]
|
[临时表]
|
||||||
@@ -142,24 +142,11 @@
|
|||||||
IF 输入.flag = "5"
|
IF 输入.flag = "5"
|
||||||
QUERY
|
QUERY
|
||||||
SELECT
|
SELECT
|
||||||
plan.mfg_order_name,
|
plan.*,
|
||||||
plan.container_name,
|
|
||||||
ivt.point_code,
|
ivt.point_code,
|
||||||
plan.split_group,
|
|
||||||
plan.manufacture_sort,
|
|
||||||
plan.manufacture_date,
|
|
||||||
plan.paper_tube_or_FRP,
|
|
||||||
plan.paper_tube_material,
|
|
||||||
plan.paper_tube_description,
|
|
||||||
plan.paper_tube_model,
|
|
||||||
plan.FRP_material,
|
|
||||||
plan.FRP_description,
|
|
||||||
plan.FRP_model,
|
|
||||||
plan.workorder_id,
|
|
||||||
ivt.sort_seq,
|
ivt.sort_seq,
|
||||||
ivt.product_area,
|
ivt.product_area,
|
||||||
ivt.point_location,
|
ivt.point_location
|
||||||
plan.qzzno
|
|
||||||
FROM
|
FROM
|
||||||
PDM_BI_SlittingProductionPlan plan
|
PDM_BI_SlittingProductionPlan plan
|
||||||
LEFT JOIN st_ivt_cutpointivt ivt ON ivt.ext_code = plan.resource_name
|
LEFT JOIN st_ivt_cutpointivt ivt ON ivt.ext_code = plan.resource_name
|
||||||
@@ -179,24 +166,11 @@
|
|||||||
IF 输入.flag = "6"
|
IF 输入.flag = "6"
|
||||||
QUERY
|
QUERY
|
||||||
SELECT
|
SELECT
|
||||||
plan.mfg_order_name,
|
plan.*,
|
||||||
plan.container_name,
|
|
||||||
ivt.point_code,
|
ivt.point_code,
|
||||||
plan.split_group,
|
|
||||||
plan.manufacture_sort,
|
|
||||||
plan.manufacture_date,
|
|
||||||
plan.paper_tube_or_FRP,
|
|
||||||
plan.paper_tube_material,
|
|
||||||
plan.paper_tube_description,
|
|
||||||
plan.paper_tube_model,
|
|
||||||
plan.FRP_material,
|
|
||||||
plan.FRP_description,
|
|
||||||
plan.FRP_model,
|
|
||||||
plan.workorder_id,
|
|
||||||
ivt.sort_seq,
|
ivt.sort_seq,
|
||||||
ivt.product_area,
|
ivt.product_area,
|
||||||
ivt.point_location,
|
ivt.point_location
|
||||||
plan.qzzno
|
|
||||||
FROM
|
FROM
|
||||||
PDM_BI_SlittingProductionPlan plan
|
PDM_BI_SlittingProductionPlan plan
|
||||||
LEFT JOIN st_ivt_cutpointivt ivt ON ivt.ext_code = plan.resource_name
|
LEFT JOIN st_ivt_cutpointivt ivt ON ivt.ext_code = plan.resource_name
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ import java.util.List;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
public class CutTrussTask extends AbstractAcsTask {
|
public class CutTrussTask extends AbstractAcsTask {
|
||||||
private final String THIS_CLASS = CutTrussTask.class.getName();
|
private final String THIS_CLASS = CutTrussTask.class.getName();
|
||||||
private final CutConveyorTask conveyorTask;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AcsTaskDto> addTask() {
|
public List<AcsTaskDto> addTask() {
|
||||||
@@ -154,7 +153,7 @@ public class CutTrussTask extends AbstractAcsTask {
|
|||||||
String point_code2 = form.getString("point_code2");
|
String point_code2 = form.getString("point_code2");
|
||||||
String point_code3 = form.getString("point_code3");
|
String point_code3 = form.getString("point_code3");
|
||||||
String point_code4 = form.getString("point_code4");
|
String point_code4 = form.getString("point_code4");
|
||||||
if (conveyorTask.isSingleTask(point_code1)){
|
/*if (conveyorTask.isSingleTask(point_code1)){
|
||||||
throw new BadRequestException("点位:"+point_code1+"存在未完成的任务!");
|
throw new BadRequestException("点位:"+point_code1+"存在未完成的任务!");
|
||||||
}
|
}
|
||||||
if (conveyorTask.isSingleTask(point_code2)){
|
if (conveyorTask.isSingleTask(point_code2)){
|
||||||
@@ -165,7 +164,7 @@ public class CutTrussTask extends AbstractAcsTask {
|
|||||||
}
|
}
|
||||||
if (conveyorTask.isSingleTask(point_code4)){
|
if (conveyorTask.isSingleTask(point_code4)){
|
||||||
throw new BadRequestException("点位:"+point_code4+"存在未完成的任务!");
|
throw new BadRequestException("点位:"+point_code4+"存在未完成的任务!");
|
||||||
}
|
}*/
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
json.put("task_id", IdUtil.getSnowflake(1,1).nextId());
|
json.put("task_id", IdUtil.getSnowflake(1,1).nextId());
|
||||||
json.put("task_code", CodeUtil.getNewCode("TASK_CODE"));
|
json.put("task_code", CodeUtil.getNewCode("TASK_CODE"));
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
<!--表格渲染-->
|
<!--表格渲染-->
|
||||||
<el-table ref="table" v-loading="crud.loading" style="width: 100%" :data="crud.data" size="mini" @selection-change="crud.selectionChangeHandler">
|
<el-table ref="table" v-loading="crud.loading" style="width: 100%" :data="crud.data" size="mini" @selection-change="crud.selectionChangeHandler">
|
||||||
<el-table-column type="selection" />
|
<el-table-column type="selection" />
|
||||||
<el-table-column prop="package_box_SN" label="木箱码" :min-width="flexWidth('package_box_SN',crud.data,'木箱码')" />
|
<el-table-column prop="package_box_sn" label="木箱码" :min-width="flexWidth('package_box_sn',crud.data,'木箱码')" />
|
||||||
<el-table-column prop="quanlity_in_box" label="箱内子卷数量" :min-width="flexWidth('quanlity_in_box',crud.data,'箱内子卷数量')" />
|
<el-table-column prop="quanlity_in_box" label="箱内子卷数量" :min-width="flexWidth('quanlity_in_box',crud.data,'箱内子卷数量')" />
|
||||||
<el-table-column prop="box_weight" label="木箱自身重量" :min-width="flexWidth('box_weight',crud.data,'木箱自身重量')" />
|
<el-table-column prop="box_weight" label="木箱自身重量" :min-width="flexWidth('box_weight',crud.data,'木箱自身重量')" />
|
||||||
<el-table-column prop="quality_guaran_period" label="保质期" :min-width="flexWidth('quality_guaran_period',crud.data,'保质期')"/>
|
<el-table-column prop="quality_guaran_period" label="保质期" :min-width="flexWidth('quality_guaran_period',crud.data,'保质期')"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user