|
|
@ -521,6 +521,9 @@ public class DmsBillsMaintInstanceServiceImpl implements IDmsBillsMaintInstanceS
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@GlobalTransactional(rollbackFor = Exception.class)
|
|
|
|
@GlobalTransactional(rollbackFor = Exception.class)
|
|
|
|
public int completeMaint(DmsBillsMaintDetail dmsBillsMaintDetail) {
|
|
|
|
public int completeMaint(DmsBillsMaintDetail dmsBillsMaintDetail) {
|
|
|
|
|
|
|
|
if(!dmsBillsMaintDetail.getMaintStatus().equals(DmsConstants.DMS_BILLS_MAINT_INSTANCE_STATUS_MAINTING)){
|
|
|
|
|
|
|
|
throw new ServiceException("非保养中状态,不能完成保养");
|
|
|
|
|
|
|
|
}
|
|
|
|
// 获取保养工单明细中的项目列表
|
|
|
|
// 获取保养工单明细中的项目列表
|
|
|
|
List<DmsBillsMaintDetailProjectVo> dmsBillsMaintDetailProjects = dmsBillsMaintDetail.getDmsBillsMaintDetailProjectList();
|
|
|
|
List<DmsBillsMaintDetailProjectVo> dmsBillsMaintDetailProjects = dmsBillsMaintDetail.getDmsBillsMaintDetailProjectList();
|
|
|
|
// 获取保养实例ID
|
|
|
|
// 获取保养实例ID
|
|
|
|