提交单据的时候增加校验单号是否重复

This commit is contained in:
季圣华
2023-03-02 22:57:24 +08:00
parent d70be28df7
commit 4562b66fc3
7 changed files with 48 additions and 8 deletions

View File

@@ -368,7 +368,7 @@ public class DepotHeadController {
DepotHeadVo4List dhl = new DepotHeadVo4List();
try {
List<DepotHeadVo4List> list = depotHeadService.getDetailByNumber(number);
if(list.size() == 1) {
if(list.size()>0) {
dhl = list.get(0);
}
res.code = 200;