This commit is contained in:
shuo.wang
2025-05-28 20:00:06 +08:00
parent f8e4f985f7
commit 0f1b40f21f
3 changed files with 23 additions and 0 deletions

View File

@@ -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<>();