代码更新
This commit is contained in:
@@ -182,12 +182,17 @@ class MaterialLabelServiceImpl implements MaterialLabelService {
|
||||
WQLObject.getWQLObject("md_base_materialLabelMst").update(jsonObject);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String nowDate = DateUtil.format(new Date(), "yyMMddHHmm");
|
||||
System.out.println(nowDate);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public JSONObject print(JSONObject jsonMst) {
|
||||
String now = DateUtil.now();
|
||||
String nowDate = DateUtil.format(new Date(), "yyMMddHHmm");
|
||||
String label_code = jsonMst.optString("material_code") + jsonMst.optString("customer") + jsonMst.optString("material_spce") + jsonMst.optString("machine") + nowDate + jsonMst.optString("pcsn") + jsonMst.optString("formula");
|
||||
String label_code = jsonMst.optString("customer")+jsonMst.optString("formula") + nowDate + jsonMst.optString("pcsn") + jsonMst.optString("weight");
|
||||
String order_seq = "0";
|
||||
if (StrUtil.isEmpty(jsonMst.optString("dtl_count"))) {
|
||||
order_seq = NumberUtil.add(order_seq, "1").toString();
|
||||
|
||||
Binary file not shown.
@@ -134,7 +134,6 @@ public class OutTask extends AbstractAcsTask {
|
||||
//刪除庫存
|
||||
WQLObject.getWQLObject("st_ivt_structIvt").delete("struct_uuid = '"+startPoint.getString("point_uuid")+"'");
|
||||
|
||||
|
||||
}
|
||||
WQLObject.getWQLObject("sch_base_task").update(taskjo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user