feat:老店新开特殊处理
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.cool.store.dao;
|
||||
|
||||
import com.alibaba.excel.util.CollectionUtils;
|
||||
import com.alibaba.excel.util.StringUtils;
|
||||
import com.cool.store.dto.contract.ContractCallbackDTO;
|
||||
import com.cool.store.entity.SignFranchiseDO;
|
||||
import com.cool.store.mapper.SignFranchiseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@@ -38,4 +40,11 @@ public class SignFranchiseDAO {
|
||||
public SignFranchiseDO selectByShopId(Long shopId){
|
||||
return signFranchiseMapper.selectByShopId(shopId);
|
||||
}
|
||||
|
||||
public void updateAuditByShopId(Long auditId, Long shopId, ContractCallbackDTO dto){
|
||||
if (dto==null || (StringUtils.isEmpty(dto.getReason())&&dto.getInfoConsistencyFlag()==null)){
|
||||
return;
|
||||
}
|
||||
signFranchiseMapper.updateAuditByShopId(auditId,shopId,dto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user