|
@@ -206,7 +206,7 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
|
|
|
" left join Inventory c on c.cInvCode=s.cInvCode" +
|
|
|
" left join ComputationUnit d on d.cComunitCode=c.cComUnitCode"+
|
|
|
" left join SO_SODetails_extradefine be on be.iSOsID=s.iSOsID"+
|
|
|
- " where s.ID = "+ID;
|
|
|
+ " where (s.cSCloser is null or s.cSCloser='asuser') and s.ID = "+ID;
|
|
|
List<Map<String, Object>> listSon = new ArrayList<>();
|
|
|
if(sy.getAccount().equals("901")){
|
|
|
listSon = senYuDataSourceOne.queryForList(sql);
|