Commit 0692aac7 authored by chenzhao's avatar chenzhao

Merge remote-tracking branch 'origin/developer' into developer

parents f47bb920 47f8ab44
...@@ -100,6 +100,7 @@ public class ControllerAop { ...@@ -100,6 +100,7 @@ public class ControllerAop {
urls.add("/hygf/unit-info/region/tree"); urls.add("/hygf/unit-info/region/tree");
urls.add("/hygf/unit-info/management-unit/tree"); urls.add("/hygf/unit-info/management-unit/tree");
urls.add("/hygf/unit-info/hasExistPhone/.*"); urls.add("/hygf/unit-info/hasExistPhone/.*");
urls.add("/hygf/unit-info/hasExistUserName/.*");
urls.add("/hygf/unit-info/sendTelCode/.*"); urls.add("/hygf/unit-info/sendTelCode/.*");
urls.add("/hygf/unit-info/verifyTelCode/.*/.*"); urls.add("/hygf/unit-info/verifyTelCode/.*/.*");
urls.add("/hygf/peasant-household/mobile/login"); urls.add("/hygf/peasant-household/mobile/login");
......
...@@ -30,6 +30,17 @@ public interface PersonnelBusinessMapper extends BaseMapper<PersonnelBusiness> { ...@@ -30,6 +30,17 @@ public interface PersonnelBusinessMapper extends BaseMapper<PersonnelBusiness> {
UserUnitInformationDto getMaintenanceUserUnitInformationDto(@Param("userId")String userId); UserUnitInformationDto getMaintenanceUserUnitInformationDto(@Param("userId")String userId);
String selectUserInfo(Long sequenceNbr);
void deletePauByUserId(String userId);
void deletePguByUserId(String userId);
void deleteSubByUserId(String userId);
void deleteHpbByFoundationId(Long sequenceNbr);
void deleteSueByUserId(String userId);
void deleteAliByUserId(String userId);
} }
...@@ -29,7 +29,11 @@ public interface UnitInfoMapper extends BaseMapper<UnitInfo> { ...@@ -29,7 +29,11 @@ public interface UnitInfoMapper extends BaseMapper<UnitInfo> {
@UserEmpower(field ={"hygf_regional_companies.regional_companies_code"} ,dealerField ={} ,fieldConditions ={"in"} ,relationship="and") @UserEmpower(field ={"hygf_regional_companies.regional_companies_code"} ,dealerField ={} ,fieldConditions ={"in"} ,relationship="and")
List<UnitInfo> getlistUnitInfo(); List<UnitInfo> getlistUnitInfo();
// @UserEmpower(field ={"hygf_unit_info.regional_companies_code"} ,dealerField ={} ,fieldConditions ={"in"} ,relationship="and") // @UserEmpower(field ={"hygf_unit_info.regional_companies_code"} ,dealerField ={} ,fieldConditions ={"in"} ,relationship="and")
// UnitInfo selectById( Long unitInfoId); // UnitInfo selectById( Long unitInfoId);
Integer getUserListHuiCount(String phone, String userName);
Integer getUserListPauCount(String phone, String userName);
} }
...@@ -16,4 +16,5 @@ public interface IPersonnelBusinessService { ...@@ -16,4 +16,5 @@ public interface IPersonnelBusinessService {
IPage<CompanyDtoUserDto> getCompanyDtoUserDto( CompanyDtoUserDto dto); IPage<CompanyDtoUserDto> getCompanyDtoUserDto( CompanyDtoUserDto dto);
UserDataDto getPersonnelBusinessById(String id); UserDataDto getPersonnelBusinessById(String id);
Object deleteAllBySequenceNbr(Long sequenceNbr);
} }
...@@ -114,4 +114,38 @@ select ORG_CODE orgCode from privilege_company where privilege_company.SEQUEN ...@@ -114,4 +114,38 @@ select ORG_CODE orgCode from privilege_company where privilege_company.SEQUEN
</select> </select>
<select id="selectUserInfo" resultType="String">
SELECT
sub.amos_user_id userId
FROM
std_user_biz sub
WHERE
sub.sequence_nbr =#{sequenceNbr}
</select>
<select id="deletePauByUserId">
DELETE FROM privilege_agency_user WHERE USER_ID=#{userId}
</select>
<select id="deletePguByUserId">
DELETE FROM privilege_group_user WHERE USER_ID=#{userId}
</select>
<select id="deleteSubByUserId">
DELETE FROM std_user_biz WHERE amos_user_id=#{userId}
</select>
<select id="deleteHpbByFoundationId">
DELETE FROM hygf_personnel_business WHERE foundation_id=#{sequenceNbr}
</select>
<select id="deleteSueByUserId">
DELETE FROM std_user_empower WHERE amos_user_id=#{userId}
</select>
<select id="deleteAliByUserId">
DELETE FROM auth_login_info WHERE USER_ID=#{userId}
</select>
</mapper> </mapper>
...@@ -125,4 +125,29 @@ from privilege_company where IS_DELETED=0 and AGENCY_CODE='JXIOP' ...@@ -125,4 +125,29 @@ from privilege_company where IS_DELETED=0 and AGENCY_CODE='JXIOP'
</select> </select>
<select id="getUserListHuiCount" resultType="integer">
select count(*) from hygf_unit_info
<where>
audit_status != 3
<if test="phone != null and phone !=''">
and admin_phone = #{phone}
</if>
<if test="userName != null and userName !=''">
and admin_login_name = #{userName}
</if>
</where>
</select>
<select id="getUserListPauCount" resultType="integer">
select count(*) from privilege_agency_user
<where>
<if test="phone != null and phone !=''">
and MOBILE = #{phone}
</if>
<if test="userName != null and userName !=''">
and USER_NAME = #{userName}
</if>
</where>
</select>
</mapper> </mapper>
...@@ -95,6 +95,19 @@ public class PersonnelBusinessController extends BaseController { ...@@ -95,6 +95,19 @@ public class PersonnelBusinessController extends BaseController {
} }
/** /**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY)
@DeleteMapping(value = "/all/{sequenceNbr}")
@ApiOperation(httpMethod = "DELETE", value = "根据sequenceNbr删除人员信息", notes = "根据sequenceNbr删除人员信息")
public ResponseModel<Boolean> deleteAllBySequenceNbr(HttpServletRequest request, @PathVariable(value = "sequenceNbr") Long sequenceNbr){
return ResponseHelper.buildResponse(personnelBusinessServiceImpl.deleteAllBySequenceNbr(sequenceNbr));
}
/**
* 根据sequenceNbr查询 * 根据sequenceNbr查询
* *
* @param sequenceNbr 主键 * @param sequenceNbr 主键
...@@ -107,6 +120,8 @@ public class PersonnelBusinessController extends BaseController { ...@@ -107,6 +120,8 @@ public class PersonnelBusinessController extends BaseController {
return ResponseHelper.buildResponse(personnelBusinessServiceImpl.queryBySeq(sequenceNbr)); return ResponseHelper.buildResponse(personnelBusinessServiceImpl.queryBySeq(sequenceNbr));
} }
/** /**
* 列表分页查询 * 列表分页查询
* *
......
...@@ -332,7 +332,21 @@ public class UnitInfoController extends BaseController { ...@@ -332,7 +332,21 @@ public class UnitInfoController extends BaseController {
/**
* 判断用户名是否存在
*
* @return
*/
@TycloudOperation(needAuth = false, ApiLevel = UserType.AGENCY)
@GetMapping(value = "/hasExistUserName/{userName}")
@ApiOperation(httpMethod = "GET", value = "判断用户名是否存在", notes = "判断用户名是否存在")
public ResponseModel hasExistUserName( @PathVariable(value = "userName") String userName) {
try {
return CommonResponseNewUtil.success(unitInfoServiceImpl.hasExistPhoneOrUserName(null, userName));
} catch (Exception e) {
return CommonResponseNewUtil.failure("该用户名已经注册");
}
}
...@@ -346,7 +360,7 @@ public class UnitInfoController extends BaseController { ...@@ -346,7 +360,7 @@ public class UnitInfoController extends BaseController {
@ApiOperation(httpMethod = "GET", value = "判断用户号码是否存在", notes = "判断用户号码是否存在") @ApiOperation(httpMethod = "GET", value = "判断用户号码是否存在", notes = "判断用户号码是否存在")
public ResponseModel hasExistPhone( @PathVariable(value = "phone") String phone) { public ResponseModel hasExistPhone( @PathVariable(value = "phone") String phone) {
try { try {
return CommonResponseNewUtil.success(Privilege.agencyUserClient.checkLoginId(phone).getResult()); return CommonResponseNewUtil.success(unitInfoServiceImpl.hasExistPhoneOrUserName(phone, null));
} catch (Exception e) { } catch (Exception e) {
return CommonResponseNewUtil.failure("该手机号已经注册"); return CommonResponseNewUtil.failure("该手机号已经注册");
} }
......
...@@ -34,6 +34,8 @@ public class BasicGridAcceptanceServiceImpl ...@@ -34,6 +34,8 @@ public class BasicGridAcceptanceServiceImpl
@Autowired @Autowired
HygfOnGridMapper onGridMapper; HygfOnGridMapper onGridMapper;
@Autowired @Autowired
HygfOnGridServiceImpl hygfOnGridServiceImpl;
@Autowired
PersonnelBusinessMapper personnelBusinessMapper; PersonnelBusinessMapper personnelBusinessMapper;
@Autowired @Autowired
WorkflowImpl workflow; WorkflowImpl workflow;
...@@ -124,11 +126,17 @@ public class BasicGridAcceptanceServiceImpl ...@@ -124,11 +126,17 @@ public class BasicGridAcceptanceServiceImpl
peasantHouseholdMapper.update(null, up); peasantHouseholdMapper.update(null, up);
} }
if (grid.getSequenceNbr() != null) {
onGridMapper.updateById(grid); //防止重复提交
} else { // if (grid.getSequenceNbr() != null) {
onGridMapper.insert(grid); // onGridMapper.updateById(grid);
} // } else {
// onGridMapper.insert(grid);
// }
LambdaQueryWrapper<HygfOnGrid> hog = new LambdaQueryWrapper<>();
hog.eq(HygfOnGrid::getPeasantHouseholdId, grid.getPeasantHouseholdId());
hygfOnGridServiceImpl.saveOrUpdate(grid,hog);
basicGridAcceptanceMapper.updateById(basicGridAcceptance); basicGridAcceptanceMapper.updateById(basicGridAcceptance);
//发起待办 //发起待办
......
...@@ -45,7 +45,7 @@ import java.util.*; ...@@ -45,7 +45,7 @@ import java.util.*;
* @date 2023-09-01 * @date 2023-09-01
*/ */
@Service @Service
public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessDto,PersonnelBusiness,PersonnelBusinessMapper> implements IPersonnelBusinessService { public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessDto, PersonnelBusiness, PersonnelBusinessMapper> implements IPersonnelBusinessService {
@Autowired @Autowired
PersonnelBusinessMapper personnelBusinessMapper; PersonnelBusinessMapper personnelBusinessMapper;
@Autowired @Autowired
...@@ -497,4 +497,29 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -497,4 +497,29 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
return new UserDataDto( userDataZHDto, userDataJBDto , userDataZZDto); return new UserDataDto( userDataZHDto, userDataJBDto , userDataZZDto);
} }
@Override
public Boolean deleteAllBySequenceNbr(Long sequenceNbr) {
try {
// 根据sequenceNbr查询用户userId
String userId = personnelBusinessMapper.selectUserInfo(sequenceNbr);
// 删除privilege_agency_user表中数据
personnelBusinessMapper.deletePauByUserId(userId);
// 删除privilege_group_user表中数据
personnelBusinessMapper.deletePguByUserId(userId);
// 删除std_user_biz表中数据
personnelBusinessMapper.deleteSubByUserId(userId);
// 删除hygf_personnel_business表中数据
personnelBusinessMapper.deleteHpbByFoundationId(sequenceNbr);
// 删除std_user_empower表中数据
personnelBusinessMapper.deleteSueByUserId(userId);
// 删除auth_login_info表中数据
personnelBusinessMapper.deleteAliByUserId(userId);
return null;
} catch (Exception e) {
throw new BadRequest("删除失败!");
}
}
} }
\ No newline at end of file
...@@ -1056,4 +1056,19 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn ...@@ -1056,4 +1056,19 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
pagenew.setRecords(page.getList()); pagenew.setRecords(page.getList());
return pagenew; return pagenew;
} }
public Boolean hasExistPhoneOrUserName(String phone, String userName) {
Integer userListHuiCount = unitInfoMapper.getUserListHuiCount(phone, userName);
Integer userListPauCount = unitInfoMapper.getUserListPauCount(phone, userName);
if((userListHuiCount != 0 || userListPauCount != 0) && phone != null) {
throw new BadRequest("该手机号已经注册");
}
if((userListHuiCount != 0 || userListPauCount != 0) && userName != null) {
throw new BadRequest("该用户名已经注册");
}
return true;
}
} }
\ No newline at end of file
...@@ -292,14 +292,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W ...@@ -292,14 +292,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
upq.set(WorkOrder::getWorkOrderStatus, WorkOrderEnum.登记中.getCode()); upq.set(WorkOrder::getWorkOrderStatus, WorkOrderEnum.登记中.getCode());
} }
workOrderMapper.update(null, upq); workOrderMapper.update(null, upq);
// 新增施工信息 // 新增施工信息
// 防止重复添加 // 防止重复添加
LambdaUpdateWrapper<PowerStationConstructionData> psc = new LambdaUpdateWrapper(); LambdaUpdateWrapper<PowerStationConstructionData> psc = new LambdaUpdateWrapper();
psc.eq(PowerStationConstructionData::getWorkOrderPowerStationId, powerStationConstructionData.getWorkOrderPowerStationId()); psc.eq(PowerStationConstructionData::getWorkOrderPowerStationId,
powerStationConstructionData.getWorkOrderPowerStationId());
psc.eq(PowerStationConstructionData::getWorkOrderId, powerStationConstructionData.getWorkOrderId()); psc.eq(PowerStationConstructionData::getWorkOrderId, powerStationConstructionData.getWorkOrderId());
powerStationConstructionDataService.saveOrUpdate(powerStationConstructionData,psc); powerStationConstructionDataService.saveOrUpdate(powerStationConstructionData, psc);
//powerStationConstructionDataService.saveOrUpdate(powerStationConstructionData); // powerStationConstructionDataService.saveOrUpdate(powerStationConstructionData);
// 增加操作日志 // 增加操作日志
if (powerStationConstructionData.getSequenceNbr() != null) { if (powerStationConstructionData.getSequenceNbr() != null) {
...@@ -836,7 +837,13 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W ...@@ -836,7 +837,13 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
powerStationEngineeringInfo.setWorkOrderId(workOrderPowerStation.getWorkOrderId()); powerStationEngineeringInfo.setWorkOrderId(workOrderPowerStation.getWorkOrderId());
powerStationEngineeringInfo powerStationEngineeringInfo
.setWorkOrderPowerStationId(powerStationEngineeringInfoAllDto.getWorkOrderPowerStationId()); .setWorkOrderPowerStationId(powerStationEngineeringInfoAllDto.getWorkOrderPowerStationId());
powerStationEngineeringInfoService.saveOrUpdate(powerStationEngineeringInfo); // 防止重复提交
LambdaQueryWrapper<PowerStationEngineeringInfo> pse = new LambdaQueryWrapper<>();
pse.eq(PowerStationEngineeringInfo::getWorkOrderId, powerStationEngineeringInfo.getWorkOrderId()).eq(
PowerStationEngineeringInfo::getWorkOrderPowerStationId,
powerStationEngineeringInfo.getWorkOrderPowerStationId());
// powerStationEngineeringInfoService.saveOrUpdate(powerStationEngineeringInfo);
powerStationEngineeringInfoService.saveOrUpdate(powerStationEngineeringInfo, pse);
// 增加操作日志 // 增加操作日志
ConstructionRecords da = new ConstructionRecords(powerStationEngineeringInfo.getRecUserName(), "完工登记", ConstructionRecords da = new ConstructionRecords(powerStationEngineeringInfo.getRecUserName(), "完工登记",
new Date(), "", workOrderPowerStation.getWorkOrderId(), workOrderPowerStation.getSequenceNbr(), new Date(), "", workOrderPowerStation.getWorkOrderId(), workOrderPowerStation.getSequenceNbr(),
...@@ -869,74 +876,73 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W ...@@ -869,74 +876,73 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
} }
@Transactional(isolation = Isolation.REPEATABLE_READ) @Transactional(isolation = Isolation.REPEATABLE_READ)
public ConstructionRecords addConstructionRecords(ConstructionRecords constructionRecords){ public ConstructionRecords addConstructionRecords(ConstructionRecords constructionRecords) {
synchronized (constructionRecords) { synchronized (constructionRecords) {
LambdaQueryWrapper<WorkOrderPowerStation> qu=new LambdaQueryWrapper(); LambdaQueryWrapper<WorkOrderPowerStation> qu = new LambdaQueryWrapper();
qu.eq(WorkOrderPowerStation::getSequenceNbr,constructionRecords.getWorkOrderPowerStationId()); qu.eq(WorkOrderPowerStation::getSequenceNbr, constructionRecords.getWorkOrderPowerStationId());
WorkOrderPowerStation workOrderPowerStation=workOrderPowerStationMapper.selectOne(qu); WorkOrderPowerStation workOrderPowerStation = workOrderPowerStationMapper.selectOne(qu);
if(constructionRecords.getOperationResults().equals("通过")){ if (constructionRecords.getOperationResults().equals("通过")) {
//修改电站状态 // 修改电站状态
workOrderPowerStation.setPowerStationConstructionStatus(WorkOrderEnum.已完工.getCode()); workOrderPowerStation.setPowerStationConstructionStatus(WorkOrderEnum.已完工.getCode());
//修改完工时间 // 修改完工时间
LambdaUpdateWrapper<PowerStationEngineeringInfo> upq1=new LambdaUpdateWrapper(); LambdaUpdateWrapper<PowerStationEngineeringInfo> upq1 = new LambdaUpdateWrapper();
upq1.eq(PowerStationEngineeringInfo::getWorkOrderPowerStationId,workOrderPowerStation.getSequenceNbr()); upq1.eq(PowerStationEngineeringInfo::getWorkOrderPowerStationId,
upq1.set(PowerStationEngineeringInfo::getCompletionDate,new Date()); workOrderPowerStation.getSequenceNbr());
powerStationEngineeringInfoMapper.update(null,upq1); upq1.set(PowerStationEngineeringInfo::getCompletionDate, new Date());
powerStationEngineeringInfoMapper.update(null, upq1);
BasicGridAcceptance dat=new BasicGridAcceptance();
dat.setWorkOrderId(workOrderPowerStation.getWorkOrderId()); BasicGridAcceptance dat = new BasicGridAcceptance();
dat.setWorkOrderPowerStationId(workOrderPowerStation.getSequenceNbr()); dat.setWorkOrderId(workOrderPowerStation.getWorkOrderId());
dat.setPeasantHouseholdId(workOrderPowerStation.getPeasantHouseholdId()); dat.setWorkOrderPowerStationId(workOrderPowerStation.getSequenceNbr());
dat.setGridStatus("1"); dat.setPeasantHouseholdId(workOrderPowerStation.getPeasantHouseholdId());
dat.setGridStatus("1");
//新增并网记录
LambdaQueryWrapper<BasicGridAcceptance> bga = new LambdaQueryWrapper<>(); // 新增并网记录
bga.eq(BasicGridAcceptance::getPeasantHouseholdId, workOrderPowerStation.getPeasantHouseholdId()); LambdaQueryWrapper<BasicGridAcceptance> bga = new LambdaQueryWrapper<>();
BasicGridAcceptance b = basicGridAcceptanceMapper.selectOne(bga); bga.eq(BasicGridAcceptance::getPeasantHouseholdId, workOrderPowerStation.getPeasantHouseholdId());
//防止重复增加 BasicGridAcceptance b = basicGridAcceptanceMapper.selectOne(bga);
if(b==null) // 防止重复增加
{ if (b == null) {
basicGridAcceptanceMapper.insert(dat); basicGridAcceptanceMapper.insert(dat);
} }
workOrderPowerStationMapper.updateById(workOrderPowerStation); workOrderPowerStationMapper.updateById(workOrderPowerStation);
//修改派工单状态 // 修改派工单状态
LambdaQueryWrapper<WorkOrderPowerStation> qu1=new LambdaQueryWrapper(); LambdaQueryWrapper<WorkOrderPowerStation> qu1 = new LambdaQueryWrapper();
qu1.eq(WorkOrderPowerStation::getWorkOrderId,workOrderPowerStation.getWorkOrderId()); qu1.eq(WorkOrderPowerStation::getWorkOrderId, workOrderPowerStation.getWorkOrderId());
List<String> d=new ArrayList<>(); List<String> d = new ArrayList<>();
d.add(WorkOrderEnum.施工中.getCode()); d.add(WorkOrderEnum.施工中.getCode());
d.add(WorkOrderEnum.待施工.getCode()); d.add(WorkOrderEnum.待施工.getCode());
d.add(WorkOrderEnum.待登记.getCode()); d.add(WorkOrderEnum.待登记.getCode());
d.add(WorkOrderEnum.待审核.getCode()); d.add(WorkOrderEnum.待审核.getCode());
qu1.in(WorkOrderPowerStation::getPowerStationConstructionStatus,d); qu1.in(WorkOrderPowerStation::getPowerStationConstructionStatus, d);
List<WorkOrderPowerStation> list=workOrderPowerStationMapper.selectList(qu1); List<WorkOrderPowerStation> list = workOrderPowerStationMapper.selectList(qu1);
LambdaUpdateWrapper<WorkOrder> upq=new LambdaUpdateWrapper(); LambdaUpdateWrapper<WorkOrder> upq = new LambdaUpdateWrapper();
upq.eq(WorkOrder::getSequenceNbr,workOrderPowerStation.getWorkOrderId()); upq.eq(WorkOrder::getSequenceNbr, workOrderPowerStation.getWorkOrderId());
if(list==null||list.isEmpty()){ if (list == null || list.isEmpty()) {
upq.set(WorkOrder::getWorkOrderStatus,WorkOrderEnum.已完工.getCode()); upq.set(WorkOrder::getWorkOrderStatus, WorkOrderEnum.已完工.getCode());
workOrderMapper.update(null,upq); workOrderMapper.update(null, upq);
} }
}else{ } else {
//修改电站状态 // 修改电站状态
workOrderPowerStation.setPowerStationConstructionStatus(WorkOrderEnum.未通过.getCode()); workOrderPowerStation.setPowerStationConstructionStatus(WorkOrderEnum.未通过.getCode());
workOrderPowerStationMapper.updateById(workOrderPowerStation); workOrderPowerStationMapper.updateById(workOrderPowerStation);
LambdaUpdateWrapper<WorkOrder> upq=new LambdaUpdateWrapper(); LambdaUpdateWrapper<WorkOrder> upq = new LambdaUpdateWrapper();
upq.eq(WorkOrder::getSequenceNbr,workOrderPowerStation.getWorkOrderId()); upq.eq(WorkOrder::getSequenceNbr, workOrderPowerStation.getWorkOrderId());
upq.set(WorkOrder::getWorkOrderStatus,WorkOrderEnum.未通过 upq.set(WorkOrder::getWorkOrderStatus, WorkOrderEnum.未通过.getCode());
.getCode()); workOrderMapper.update(null, upq);
workOrderMapper.update(null,upq);
}
}
// 增加操作日志
//增加操作日志 constructionRecords.setWorkOrderId(workOrderPowerStation.getWorkOrderId());
constructionRecords.setWorkOrderId(workOrderPowerStation.getWorkOrderId()); constructionRecords.setOperationContent("完工自审-" + constructionRecords.getOperationResults());
constructionRecords.setOperationContent("完工自审-"+constructionRecords.getOperationResults()); constructionRecords.setWorkOrderPowerStationId(workOrderPowerStation.getSequenceNbr());
constructionRecords.setWorkOrderPowerStationId(workOrderPowerStation.getSequenceNbr()); constructionRecords.setPeasantHouseholdId(workOrderPowerStation.getPeasantHouseholdId());
constructionRecords.setPeasantHouseholdId(workOrderPowerStation.getPeasantHouseholdId()); constructionRecordsServiceImpl.save(constructionRecords);
constructionRecordsServiceImpl.save(constructionRecords); }
} return constructionRecords;
return constructionRecords; }
}
} }
\ No newline at end of file
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