开业筹备阶段3.5
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user