到货检验单-收回-库存校验调整
This commit is contained in:
parent
93a3ae946a
commit
f8ff0b753d
|
@ -527,7 +527,7 @@ public class DhjydMasterVOServiceImpl extends ServiceSupport implements IDhjydMa
|
|||
} else {
|
||||
// 到货检验单的校验
|
||||
// 查询采购入库单是否存在该id
|
||||
String countSql = "select count(1) from IC_PURCHASEIN_B where csourcebillhid = '[otherId]';";
|
||||
String countSql = "select count(1) from IC_PURCHASEIN_B where csourcebillhid = '[otherId]' and dr = 0;";
|
||||
countSql = countSql.replace("[otherId]", otherId);
|
||||
Integer num = (Integer) getBaseDAO().executeQuery(countSql, new ColumnProcessor());
|
||||
if (num > 0) {
|
||||
|
|
Loading…
Reference in New Issue