|
@@ -255,7 +255,10 @@ public class ivtOrderController {
|
|
|
public ResponseObject purchaseUnShip(UserContext uc, String costPdtIds) throws SQLException {
|
|
public ResponseObject purchaseUnShip(UserContext uc, String costPdtIds) throws SQLException {
|
|
|
if (StringUtils.isBlank(costPdtIds))
|
|
if (StringUtils.isBlank(costPdtIds))
|
|
|
return ResponseObject.newErrResponse("无数据");
|
|
return ResponseObject.newErrResponse("无数据");
|
|
|
- List<RowMap> pdtList = DBSql.getMaps("select ID,STATUS_ID,CONTRACT_COST_ID,QUANTITY,WAREHOUSE_ID from bo_eu_dnctt_contract_cost_product where id in(?)", new Object[]{costPdtIds});
|
|
|
|
|
|
|
+
|
|
|
|
|
+ List<RowMap> pdtList = DBSql.getMaps("select ID,STATUS_ID,CONTRACT_COST_ID,QUANTITY,WAREHOUSE_ID from bo_eu_dnctt_contract_cost_product where FIND_IN_SET(ID,?)", new Object[]{costPdtIds});
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
if (pdtList.isEmpty())
|
|
if (pdtList.isEmpty())
|
|
|
return ResponseObject.newErrResponse("无数据");
|
|
return ResponseObject.newErrResponse("无数据");
|
|
|
|
|
|