请领单一次只能出库一单
This commit is contained in:
parent
7fadd08bbe
commit
aaa7fd0245
|
|
@ -384,6 +384,10 @@ public class InvoicingQldApi {
|
|||
if (StringUtils.isBlank(dto.getQldNo())) {
|
||||
return Result.error("缺少参数");
|
||||
}
|
||||
//一次只能出库一单
|
||||
if(dto.getQldNo().indexOf(",")>0){
|
||||
return Result.error("出库失败");
|
||||
}
|
||||
Map<String, Object> result = qinglingApi.outbound(dto);
|
||||
if ("success".equals(result.get("status"))) {
|
||||
result.put("message", "出库成功");
|
||||
|
|
|
|||
Loading…
Reference in New Issue