门店编码重复校验
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user