fix
This commit is contained in:
@@ -69,6 +69,19 @@ public class ShopStageRemarkInfoDAO {
|
||||
return result ;
|
||||
}
|
||||
|
||||
public List<ShopStageRemarkInfoDO> getByShopIdsAndStages(List<Long> shopIds, List<Integer> shopSubStageList) {
|
||||
if (CollectionUtils.isEmpty(shopIds) || CollectionUtils.isEmpty(shopSubStageList)){
|
||||
return new ArrayList<>();
|
||||
}
|
||||
Example example = new Example(ShopStageRemarkInfoDO.class);
|
||||
example.createCriteria().andIn("shopId", shopIds).andIn("shopSubStage", shopSubStageList);
|
||||
List<ShopStageRemarkInfoDO> result = shopStageRemarkInfoMapper.selectByExample(example);
|
||||
if (CollectionUtils.isEmpty(result)){
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return result ;
|
||||
}
|
||||
|
||||
public List<ShopStageRemarkInfoDO> getByLineIdsAndStage(List<Long> lineIds, List<Integer> workflowSubStageStatusList) {
|
||||
if (CollectionUtils.isEmpty(lineIds) || CollectionUtils.isEmpty(workflowSubStageStatusList)){
|
||||
return new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user