parent
9820e9aa56
commit
bdedfebbb9
16 changed files with 165 additions and 66 deletions
@ -0,0 +1,37 @@ |
||||
package com.daqing.financial.guarantee.util; |
||||
|
||||
import com.daqing.financial.guarantee.mapper.DgAuditProcessMapper; |
||||
import com.daqing.framework.domain.guarantee.DgAuditProcess; |
||||
import lombok.Data; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.context.annotation.Configuration; |
||||
|
||||
/** |
||||
* @Author chen |
||||
* @DATE 2020/11/26 15:45 |
||||
* @Version 1.0 |
||||
*/ |
||||
@Data |
||||
@Configuration |
||||
public class AuditProcessUtil { |
||||
|
||||
private Integer businessId; |
||||
private String approver; |
||||
private String deptName; |
||||
private String auditOpinion; |
||||
|
||||
@Autowired |
||||
private DgAuditProcessMapper auditProcessMapper; |
||||
|
||||
public AuditProcessUtil(Integer businessId, String approver, String deptName, String auditOpinion) { |
||||
DgAuditProcess auditProcess = new DgAuditProcess(); |
||||
auditProcess.setApprover(approver); |
||||
auditProcess.setAuditOpinion(auditOpinion); |
||||
auditProcess.setBusinessId(businessId); |
||||
auditProcess.setDeptName(deptName); |
||||
auditProcessMapper.insert(auditProcess); |
||||
} |
||||
|
||||
public AuditProcessUtil() { |
||||
} |
||||
} |
Loading…
Reference in new issue