| | |
| | | import com.gkhy.safePlatform.commons.enums.ResultCodes; |
| | | import com.gkhy.safePlatform.commons.query.PageQuery; |
| | | import com.gkhy.safePlatform.commons.utils.BeanCopyUtils; |
| | | import com.gkhy.safePlatform.commons.utils.StringUtils; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.commons.vo.SearchResultVO; |
| | | import com.gkhy.safePlatform.emergency.entity.*; |
| | |
| | | |
| | | @Autowired |
| | | private EmergencySuppliesInfoService emergencySuppliesInfoService; |
| | | |
| | | @Autowired |
| | | private EmergencySuppliesInspectInfoService emergencySuppliesInspectInfoService; |
| | | |
| | | @Autowired |
| | | private EmergencySuppliesMaintainInfoService emergencySuppliesMaintainInfoService; |
| | | |
| | | |
| | | @DubboReference(check = false) |
| | | private AccountDepartmentService accountDepartmentService; |
| | |
| | | }else{ |
| | | Long SuppliesId = emergencySuppliesInfoDetailDO.getId(); |
| | | emergencySuppliesInfoService.deleteEmergencySupplies(SuppliesId); |
| | | |
| | | // 删除保养记录 |
| | | emergencySuppliesMaintainInfoService.deleteBySuppliesId(id); |
| | | // 删除检查记录 |
| | | emergencySuppliesInspectInfoService.deleteBySuppliesId(id); |
| | | |
| | | } |
| | | } |
| | | } |