调整工厂
This commit is contained in:
parent
b81a9e6cf2
commit
9ab8a44e06
|
|
@ -47,7 +47,9 @@ public class BomNewMbomParentService extends ServiceImpl<BomNewMbomParentMapper,
|
|||
public Page<BomNewMbomMiddleVO> workListPage(BomNewMbomParentQuery query) {
|
||||
|
||||
query.setStatus(MBomConstantEnum.MBomStatusEnum.UNPUB_SAP.getValue());
|
||||
query.setFacCode(SpringUtil.getBean(UserRoleService.class).getUserFactory());
|
||||
List<String> facCode= SpringUtil.getBean(UserRoleService.class).getUserOfFactory();
|
||||
String code= StrUtil.join(",",facCode);
|
||||
query.setFacCode(code);
|
||||
|
||||
return listPage(query);
|
||||
}
|
||||
|
|
@ -92,7 +94,9 @@ public class BomNewMbomParentService extends ServiceImpl<BomNewMbomParentMapper,
|
|||
|
||||
public Page<BomNewMbomMiddleVO> formalListPage(BomNewMbomParentQuery query) {
|
||||
query.setStatus(MBomConstantEnum.MBomStatusEnum.PUB_SAP.getValue());
|
||||
query.setFacCode(SpringUtil.getBean(UserRoleService.class).getUserFactory());
|
||||
List<String> facCode= SpringUtil.getBean(UserRoleService.class).getUserOfFactory();
|
||||
String code= StrUtil.join(",",facCode);
|
||||
query.setFacCode(code);
|
||||
return listPage(query);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
and material_no=#{query.materialNo}
|
||||
</if>
|
||||
<if test="query.facCode!=null and query.facCode!=''">
|
||||
and fac_code=#{query.facCode}
|
||||
and fac_code in (${query.facCode})
|
||||
</if>
|
||||
|
||||
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
and t2.status=#{query.status}
|
||||
</if>
|
||||
<if test="query.facCode!=null and query.facCode!=''">
|
||||
and t1.fac_code=#{query.facCode}
|
||||
and t1.fac_code in (${query.facCode})
|
||||
</if>
|
||||
<if test="query.drawingNo!=null and query.drawingNo!=''">
|
||||
and t1.drawing_no like concat ('',#{query.drawingNo},'%')
|
||||
|
|
|
|||
Loading…
Reference in New Issue