湿料计划表status状态调整

highway
zhaoxiaolin 1 year ago
parent 94fe3d8c84
commit 8603ea7ac2

@ -219,7 +219,7 @@ public class ProOrderServiceImpl implements IProOrderService {
wetDetail.setPlanTime(splitOrderDTO.getProductDate());
wetDetail.setCreateBy(SecurityUtils.getUsername());
wetDetail.setCreateTime(DateUtils.getNowDate());
wetDetail.setStatus("N");
wetDetail.setStatus("N");//Y接料完成N未接料O送料完成
//获取当前所选工厂
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
String key = "#header.poolName";

@ -196,14 +196,14 @@
id, factory_code, workorder_id,
create_by, create_time, bucket_code,
material_code,material_name, shift_id,
plan_time,sync_flag
plan_time,sync_flag,status
)values
<foreach collection="list" item="item" index="index" separator=",">
(
#{item.id},#{item.factoryCode},#{item.workorderId},
#{item.createBy},#{item.createTime},#{item.bucketCode},
#{item.materialCode},#{item.materialName},#{item.shiftId},
#{item.planTime}, 'N'
#{item.planTime}, 'N',#{item.status}
)
</foreach>
</insert>

Loading…
Cancel
Save