装修接口

This commit is contained in:
shuo.wang
2025-07-23 17:02:14 +08:00
parent 163f747e77
commit fbae407c00
23 changed files with 560 additions and 35 deletions

View File

@@ -48,12 +48,19 @@ public class DecorationMeasureDAO {
decorationMeasureDO.setCreateTime(new Date());
return decorationMeasureMapper.insertSelective(decorationMeasureDO);
}
public Integer insertSelective(DecorationMeasureDO decorationMeasureDO) {
return decorationMeasureMapper.insertSelective(decorationMeasureDO);
}
public Integer updateByPrimaryKeySelective(DecorationMeasureDO decorationMeasureDO, String userId) {
decorationMeasureDO.setUpdateUserId(userId);
decorationMeasureDO.setUpdateTime(new Date());
return decorationMeasureMapper.updateByPrimaryKeySelective(decorationMeasureDO);
}
public Integer updateByPrimaryKeySelective(DecorationMeasureDO decorationMeasureDO) {
decorationMeasureDO.setUpdateTime(new Date());
return decorationMeasureMapper.updateByPrimaryKeySelective(decorationMeasureDO);
}
public DecorationMeasureDO getByShopId(Long shopId) {
if (shopId == null) {

View File

@@ -334,4 +334,9 @@ public class ShopInfoDAO {
}
return shopInfoMapper.updateManagerRegionId(shopList);
}
public ShopInfoDO getShopInfoByShopCode(String shopCode){
Example example = new Example(ShopInfoDO.class);
example.createCriteria().andEqualTo("shopCode", shopCode);
return shopInfoMapper.selectOneByExample(example);
}
}