开业筹备阶段3.5

This commit is contained in:
shuo.wang
2024-04-26 10:31:03 +08:00
parent 21df20bf96
commit 8af98bde8e
9 changed files with 23 additions and 78 deletions

View File

@@ -1,39 +0,0 @@
package com.cool.store.dao;
import com.cool.store.entity.ShopAuditInfoDO;
import com.cool.store.mapper.OpeningOperationPlanMapper;
import com.cool.store.mapper.ShopAuditInfoMapper;
import com.cool.store.vo.OpeningOperationPlanVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
/**
* @Auther: WangShuo
* @Date: 2024/04/22/下午2:47
* @Version 1.0
* @注释:开业运营方案审核
*/
@Slf4j
@Repository
public class OpeningOperationPlanAuditDAO {
@Resource
private ShopAuditInfoMapper shopAuditInfoMapper;
@Resource
private OpeningOperationPlanMapper openingOperationPlanMapper;
public Long insertSelective(ShopAuditInfoDO shopAuditInfoDO) {
shopAuditInfoMapper.insertSelective(shopAuditInfoDO);
return shopAuditInfoDO.getId();
}
public Integer updateSelective(ShopAuditInfoDO shopAuditInfoDO) {
return shopAuditInfoMapper.updateByPrimaryKeySelective(shopAuditInfoDO);
}
public Long selectIdByShopId(Long shopId) {
return shopAuditInfoMapper.selectAuditIdByShopId(shopId);
}
}

View File

@@ -52,4 +52,13 @@ public class ShopAuditInfoDAO {
return shopAuditInfoMapper.getAuditInfoList(auditIds);
}
public Integer updateSelective(ShopAuditInfoDO shopAuditInfoDO) {
return shopAuditInfoMapper.updateByPrimaryKeySelective(shopAuditInfoDO);
}
public Long selectIdByShopId(Long shopId) {
return shopAuditInfoMapper.selectAuditIdByShopId(shopId);
}
}