Commit c7af4615 authored by tianbo's avatar tianbo

修改bug

parent ff3feb5b
......@@ -510,7 +510,7 @@ public class CommandController extends BaseController {
page.setCurrent(pageNum);
page.setSize(pageSize);
Page<LinkageUnitDto> linkageUnitDtoPage = iLinkageUnitService.queryForLinkageUnitPage(page, false,
unitName, linkageUnitType, null);
unitName, linkageUnitType, null, inAgreement);
return ResponseHelper.buildResponse(linkageUnitDtoPage);
}
......
package com.yeejoin.amos.boot.module.tzs.biz.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.yeejoin.amos.boot.module.common.api.service.ISourceFileService;
import com.yeejoin.amos.boot.module.common.api.service.ISourceFileService;
import com.yeejoin.amos.boot.module.tzs.api.dto.AlertCalledDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.ElevatorDto;
......@@ -22,8 +23,8 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
@Service
public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, ElevatorMapper> implements IElevatorService {
@Autowired
ISourceFileService sourceFileService;
// @Autowired
// ISourceFileService sourceFileService;
@Autowired
AlertCalledServiceImpl alertCalledServiceImpl;
......@@ -38,7 +39,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
elevatorDto = createWithModel(elevatorDto);
// TODO 保存附件
sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
// sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
return elevatorDto;
}
......@@ -52,7 +53,7 @@ public class ElevatorServiceImpl extends BaseService<ElevatorDto, Elevator, Elev
elevatorDto = updateWithModel(elevatorDto);
// TODO 保存附件
sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
// sourceFileService.saveAttachments(elevatorDto.getSequenceNbr(), elevatorDto.getAttachments());
return elevatorDto;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment