|
@@ -75,7 +75,7 @@ public class ContractService extends ServiceImpl<ContractsMapper, Contracts> {
|
|
public RestResponse add(ContractRequest request) {
|
|
public RestResponse add(ContractRequest request) {
|
|
Contracts contracts = request.getContracts();
|
|
Contracts contracts = request.getContracts();
|
|
Long projectId = request.getProjectId();
|
|
Long projectId = request.getProjectId();
|
|
- String contractType = request.getContractType();
|
|
|
|
|
|
+ String contractType = request.getType();
|
|
if (Objects.isNull(projectId)) {
|
|
if (Objects.isNull(projectId)) {
|
|
if ("5".equals(contractType)) {
|
|
if ("5".equals(contractType)) {
|
|
//插入大修项目
|
|
//插入大修项目
|