门店编码重复校验

This commit is contained in:
shuo.wang
2025-08-04 16:21:21 +08:00
parent 9bb391559c
commit d7569b8435
4 changed files with 42 additions and 0 deletions

View File

@@ -342,4 +342,10 @@ public class ShopInfoDAO {
public Integer getNumByShopCode(String shopCode){
return shopInfoMapper.getNumByShopCode(shopCode);
}
public List<ShopInfoDO> getShopListByShopCode(String shopCode){
Example example = new Example(ShopInfoDO.class);
example.createCriteria().andEqualTo("shopCode", shopCode);
return shopInfoMapper.selectByExample(example);
}
}