|
@@ -467,7 +467,7 @@ public class AddOrderJob implements Job,ApplicationContextAware {
|
|
|
" where om.cState = 1" +
|
|
|
" ) p on s.isosid = p.isosid and s.cInvCode = p.cInvCode" +
|
|
|
" left join Vendor v on p.supplierCode=v.cVenCode"+
|
|
|
- " where s.iRowNo ="+syOrderDataVO.getPoIrowno() +" and ss.cSOCode="+syOrderDataVO.getOmpoCode();
|
|
|
+ " where s.iRowNo ="+syOrderDataVO.getPoIrowno() +" and ss.cSOCode='"+syOrderDataVO.getOmpoCode()+"'";
|
|
|
listSon = senYuDataSourceThree.queryForList(sql2);
|
|
|
List<JSONObject> jian2 = JsonChangeUtils.toJSONObject(listSon);
|
|
|
for (JSONObject jsonObject:jian2) {
|