feat: 原版分配任务查看
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package org.nl.b_lms.storage_manage.ios.service.iostorInv;
|
package org.nl.b_lms.storage_manage.ios.service.iostorInv;
|
||||||
|
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import org.nl.b_lms.storage_manage.ios.service.iostorInv.dao.StIvtIostorinv;
|
import org.nl.b_lms.storage_manage.ios.service.iostorInv.dao.StIvtIostorinv;
|
||||||
@@ -81,7 +82,6 @@ public interface IStIvtIostorinvOutService extends IService<StIvtIostorinv> {
|
|||||||
*/
|
*/
|
||||||
void allDiv(JSONObject whereJson);
|
void allDiv(JSONObject whereJson);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 手工分配
|
* 手工分配
|
||||||
* @param whereJson:{
|
* @param whereJson:{
|
||||||
|
|||||||
@@ -85,4 +85,9 @@ public class CheckOutBillController {
|
|||||||
iStIvtIostorinvOutService.allDiv(whereJson);
|
iStIvtIostorinvOutService.allDiv(whereJson);
|
||||||
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
|
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
|
||||||
}
|
}
|
||||||
|
@GetMapping("/getOutBillTask")
|
||||||
|
@Log("查询出库单分配任务")
|
||||||
|
public ResponseEntity<Object> getOutBillTask(@RequestParam Map whereJson) {
|
||||||
|
return new ResponseEntity<>(checkOutBillService.getOutBillTask(whereJson), HttpStatus.OK);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,4 +53,12 @@ public interface CheckOutBillService {
|
|||||||
JSONArray queryBox(JSONObject whereJson);
|
JSONArray queryBox(JSONObject whereJson);
|
||||||
|
|
||||||
JSONArray getOutBillDis2(Map whereJson);
|
JSONArray getOutBillDis2(Map whereJson);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询出库单分配任务
|
||||||
|
*
|
||||||
|
* @param whereJson /
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
JSONArray getOutBillTask(Map whereJson);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,4 +137,20 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
.getResultJSONArray(0);
|
.getResultJSONArray(0);
|
||||||
return jo;
|
return jo;
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public JSONArray getOutBillTask(Map whereJson) {
|
||||||
|
HashMap<String, String> map = new HashMap<>(whereJson);
|
||||||
|
map.put("flag", "10");
|
||||||
|
if ("true".equals(map.get("checked"))) {
|
||||||
|
map.put("task_status", "99");
|
||||||
|
}
|
||||||
|
JSONArray jo = new JSONArray();
|
||||||
|
if (map.containsKey("iostorinvdtl_id")) {
|
||||||
|
jo = WQL.getWO("QST_IVT_CHECKOUTBILL")
|
||||||
|
.addParamMap(map)
|
||||||
|
.process()
|
||||||
|
.getResultJSONArray(0);
|
||||||
|
}
|
||||||
|
return jo;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user