feat:auditApprove
This commit is contained in:
@@ -0,0 +1,43 @@
|
|||||||
|
package com.cool.store.dto;
|
||||||
|
|
||||||
|
import com.cool.store.vo.BaseInfoVO;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author suzhuhong
|
||||||
|
* @Date 2025/9/8 10:13
|
||||||
|
* @Version 1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ContractInformationDTO {
|
||||||
|
@ApiModelProperty("门店ID")
|
||||||
|
private Long shopId;
|
||||||
|
@ApiModelProperty("门店名称")
|
||||||
|
private String shopName;
|
||||||
|
@ApiModelProperty("品牌方名称")
|
||||||
|
private String brandName;
|
||||||
|
@ApiModelProperty("支付方信息")
|
||||||
|
private String payee;
|
||||||
|
@ApiModelProperty("签约人1名称")
|
||||||
|
private String sign1Name;
|
||||||
|
@ApiModelProperty("签约人2名称")
|
||||||
|
private String sign2Name;
|
||||||
|
@ApiModelProperty("加盟模式")
|
||||||
|
private Integer joinModel;
|
||||||
|
@ApiModelProperty("每年加盟费")
|
||||||
|
private String yearFranchiseFee;
|
||||||
|
@ApiModelProperty("保证金")
|
||||||
|
private String loanMargin;
|
||||||
|
@ApiModelProperty("第一年度管理费")
|
||||||
|
private String firstYearManagementFee;
|
||||||
|
@ApiModelProperty("第一年度品牌使用费")
|
||||||
|
private String firstYearFee;
|
||||||
|
@ApiModelProperty("设计费")
|
||||||
|
private String performanceBond;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|||||||
import com.cool.store.constants.CommonConstants;
|
import com.cool.store.constants.CommonConstants;
|
||||||
import com.cool.store.context.LoginUserInfo;
|
import com.cool.store.context.LoginUserInfo;
|
||||||
import com.cool.store.dao.*;
|
import com.cool.store.dao.*;
|
||||||
|
import com.cool.store.dto.ContractInformationDTO;
|
||||||
import com.cool.store.dto.PartnerBankInfoDTO;
|
import com.cool.store.dto.PartnerBankInfoDTO;
|
||||||
import com.cool.store.entity.*;
|
import com.cool.store.entity.*;
|
||||||
import com.cool.store.enums.*;
|
import com.cool.store.enums.*;
|
||||||
@@ -406,7 +407,30 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
//初始化数据
|
//初始化数据
|
||||||
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
preparationService.contractAndBuildStoreCompletion(request.getShopId());
|
||||||
|
|
||||||
|
//推送法大大数据
|
||||||
|
//查询缴费信息
|
||||||
|
FranchiseFeeDO franchiseFeeDO = franchiseFeeMapper.selectByShopId(shopId);
|
||||||
SignFranchiseDO signFranchiseDO = signFranchiseMapper.selectByShopId(shopId);
|
SignFranchiseDO signFranchiseDO = signFranchiseMapper.selectByShopId(shopId);
|
||||||
|
|
||||||
|
ContractInformationDTO contractInformationDTO = new ContractInformationDTO();
|
||||||
|
contractInformationDTO.setShopId(shopId);
|
||||||
|
contractInformationDTO.setJoinModel(shopInfoDO.getJoinMode());
|
||||||
|
contractInformationDTO.setShopName(shopInfoDO.getShopName());
|
||||||
|
//品牌信息
|
||||||
|
|
||||||
|
|
||||||
|
contractInformationDTO.setSign1Name(signFranchiseDO.getPartnershipSignatoryFirst());
|
||||||
|
contractInformationDTO.setSign2Name(signFranchiseDO.getPartnershipSignatorySecond());
|
||||||
|
contractInformationDTO.setFirstYearFee(franchiseFeeDO.getFirstYearFee());
|
||||||
|
contractInformationDTO.setLoanMargin(franchiseFeeDO.getLoanMargin());
|
||||||
|
contractInformationDTO.setFirstYearManagementFee(franchiseFeeDO.getFirstYearManageFee());
|
||||||
|
contractInformationDTO.setFirstYearFee(franchiseFeeDO.getFirstYearFee());
|
||||||
|
contractInformationDTO.setPerformanceBond(franchiseFeeDO.getPerformanceBond());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
log.info("加盟合同审批时签约类型:{}", SignTypeEnum.getDescByCode(signFranchiseDO.getSignType()));
|
log.info("加盟合同审批时签约类型:{}", SignTypeEnum.getDescByCode(signFranchiseDO.getSignType()));
|
||||||
Boolean sendNotice = Boolean.TRUE;
|
Boolean sendNotice = Boolean.TRUE;
|
||||||
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
commonService.sendSms(lineInfoDO.getMobile(), SMSMsgEnum.SIGN_CONTRACT);
|
||||||
|
|||||||
Reference in New Issue
Block a user