Commit a7038cc8 authored by tank.li@mushiny.com's avatar tank.li@mushiny.com

拣货任务完善,出库单与系统绑定 完成后反馈

parent d558f9ec
......@@ -193,10 +193,12 @@ public class ICQAService {
stringBuilder.append(Sql_Table.SQL_QUERY_ICQA);
List params = new ArrayList();
if (!CommonUtils.isEmpty(taskId)) {
stringBuilder.append(" AND TASKID=? ");
stringBuilder.append(" AND TASKID like ? ");
params.add(taskId);
}
stringBuilder.append(" ORDER BY CREATED_DATE DESC");
List<Map> rows = this.jdbcRepository.queryBySql(stringBuilder.toString(), params);
data.put("tasks", rows);
......
......@@ -48,6 +48,7 @@ public class InboundService {
sql.append(Sql_Table.SQL_SEARCHINBOUND_SECTION);
params.add(warehouseId);
}
sql.append(" ORDER BY CREATED_DATE DESC");
return this.jdbcRepository.queryBySql(sql.toString(),params);
}
......@@ -128,6 +129,7 @@ public class InboundService {
Integer amount = CommonUtils.parseInteger("AMOUNT",inv);
Map newValue = new HashMap();
newValue.put("AMOUNT",amount+stored);//增加的库存数
CommonUtils.modifyUselessInfo(newValue);
Map con = new HashMap();
con.put("ITEMDATA_ID",mID);
......@@ -267,7 +269,7 @@ public class InboundService {
baseBpo.addKV("POD_ID",storageLocation.getPodId());
baseBpo.addKV("SKUID",skuId);
baseBpo.addKV("POD_FACE",storageLocation.getPodFace());
baseBpo.addKV("STORAGENAME",storageLocation.getLocate());
baseBpo.addKV("STORAGENAME",storageLocation.getStorageName());
baseBpo.addKV("POD_LOCATE",storageLocation.getLocate());
baseBpo.addKV("WORKSTATION_ID",stationName);
baseBpo.addKV("PODINDEX",storageLocation.getPodIndex());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment