Ver código fonte

[task-2090]设备档案功能调整 / 【后端】设备档案卡相关接口开发

Li Yuan 2 anos atrás
pai
commit
79d0f61cdf
99 arquivos alterados com 8501 adições e 0 exclusões
  1. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IAccessoriesDeviceService.java
  2. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/ICalibrationCheckRecordService.java
  3. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IEquipmentCardService.java
  4. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IMaintenanceItemService.java
  5. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IMaintenanceRecordService.java
  6. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IRepairRecordService.java
  7. 82 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IScrappedRecordService.java
  8. 71 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/AccessoriesDevice.java
  9. 64 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/CalibrationCheckRecord.java
  10. 126 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/EquipmentCard.java
  11. 71 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/MaintenanceItem.java
  12. 64 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/MaintenanceRecord.java
  13. 64 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/RepairRecord.java
  14. 64 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/ScrappedRecord.java
  15. 22 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceDao.java
  16. 24 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceQueryDao.java
  17. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordDao.java
  18. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordQueryDao.java
  19. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardDao.java
  20. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardQueryDao.java
  21. 22 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemDao.java
  22. 24 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemQueryDao.java
  23. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordDao.java
  24. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordQueryDao.java
  25. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordDao.java
  26. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordQueryDao.java
  27. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordDao.java
  28. 16 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordQueryDao.java
  29. 29 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/AccessoriesDeviceDaoImpl.java
  30. 31 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/AccessoriesDeviceQueryDaoImpl.java
  31. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/CalibrationCheckRecordDaoImpl.java
  32. 27 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/CalibrationCheckRecordQueryDaoImpl.java
  33. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/EquipmentCardDaoImpl.java
  34. 27 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/EquipmentCardQueryDaoImpl.java
  35. 29 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceItemDaoImpl.java
  36. 31 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceItemQueryDaoImpl.java
  37. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceRecordDaoImpl.java
  38. 27 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceRecordQueryDaoImpl.java
  39. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/RepairRecordDaoImpl.java
  40. 27 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/RepairRecordQueryDaoImpl.java
  41. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/ScrappedRecordDaoImpl.java
  42. 27 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/ScrappedRecordQueryDaoImpl.java
  43. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/AccessoriesDevicePo.java
  44. 233 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/AccessoriesDeviceTbl.java
  45. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/CalibrationCheckRecordPo.java
  46. 555 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/CalibrationCheckRecordTbl.java
  47. 59 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/EquipmentCardPo.java
  48. 1143 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/EquipmentCardTbl.java
  49. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceItemPo.java
  50. 219 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceItemTbl.java
  51. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceRecordPo.java
  52. 303 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceRecordTbl.java
  53. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/RepairRecordPo.java
  54. 457 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/RepairRecordTbl.java
  55. 35 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/ScrappedRecordPo.java
  56. 429 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/ScrappedRecordTbl.java
  57. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/AccessoriesDeviceProvider.java
  58. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/CalibrationCheckRecordProvider.java
  59. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/EquipmentCardProvider.java
  60. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/MaintenanceItemProvider.java
  61. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/MaintenanceRecordProvider.java
  62. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/RepairRecordProvider.java
  63. 123 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/ScrappedRecordProvider.java
  64. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/AccessoriesDeviceRepository.java
  65. 18 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/CalibrationCheckRecordRepository.java
  66. 23 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/EquipmentCardRepository.java
  67. 26 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/MaintenanceItemRepository.java
  68. 18 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/MaintenanceRecordRepository.java
  69. 18 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/RepairRecordRepository.java
  70. 18 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/ScrappedRecordRepository.java
  71. 63 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/AccessoriesDeviceRepositoryImpl.java
  72. 56 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/CalibrationCheckRecordRepositoryImpl.java
  73. 87 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/EquipmentCardRepositoryImpl.java
  74. 63 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/MaintenanceItemRepositoryImpl.java
  75. 56 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/MaintenanceRecordRepositoryImpl.java
  76. 56 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/RepairRecordRepositoryImpl.java
  77. 56 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/ScrappedRecordRepositoryImpl.java
  78. 123 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/AccessoriesDevice.map.xml
  79. 152 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/CalibrationCheckRecord.map.xml
  80. 99 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/EquipmentCard.map.xml
  81. 121 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/MaintenanceItem.map.xml
  82. 116 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/MaintenanceRecord.map.xml
  83. 138 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/RepairRecord.map.xml
  84. 134 0
      ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/ScrappedRecord.map.xml
  85. 25 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/EquipmentBaseTest.java
  86. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/AccessoriesDeviceTest.java
  87. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/CalibrationCheckRecordTest.java
  88. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/EquipmentCardTest.java
  89. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/MaintenanceItemTest.java
  90. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/MaintenanceRecordTest.java
  91. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/RepairRecordTest.java
  92. 60 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/ScrappedRecordTest.java
  93. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceDaoTest.java
  94. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordDaoTest.java
  95. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardDaoTest.java
  96. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemDaoTest.java
  97. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordDaoTest.java
  98. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordDaoTest.java
  99. 55 0
      ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordDaoTest.java

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IAccessoriesDeviceService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+
+
+/**
+ * 附属设备及配件表 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-accessoriesDevice-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:02
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/accessoriesDevice")
+@RestController
+public interface IAccessoriesDeviceService {
+
+	/**
+	 * 
+	 * 【附属设备及配件表】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<AccessoriesDevicePo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【附属设备及配件表】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<AccessoriesDevicePo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.AccessoriesDeviceProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【附属设备及配件表】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.AccessoriesDeviceProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【附属设备及配件表】记录
+	 *
+	 * @param accessoriesDevicePo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid AccessoriesDevicePo accessoriesDevicePo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/ICalibrationCheckRecordService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+
+
+/**
+ * 检定校准实施记录表 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-calibrationCheckRecord-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:57
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/calibrationCheckRecord")
+@RestController
+public interface ICalibrationCheckRecordService {
+
+	/**
+	 * 
+	 * 【检定校准实施记录表】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<CalibrationCheckRecordPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【检定校准实施记录表】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<CalibrationCheckRecordPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.CalibrationCheckRecordProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【检定校准实施记录表】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.CalibrationCheckRecordProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【检定校准实施记录表】记录
+	 *
+	 * @param calibrationCheckRecordPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid CalibrationCheckRecordPo calibrationCheckRecordPo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IEquipmentCardService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+
+
+/**
+ * 设备档案卡 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-equipmentCard-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:55
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/equipmentCard")
+@RestController
+public interface IEquipmentCardService {
+
+	/**
+	 * 
+	 * 【设备档案卡】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<EquipmentCardPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【设备档案卡】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<EquipmentCardPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.EquipmentCardProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【设备档案卡】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.EquipmentCardProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【设备档案卡】记录
+	 *
+	 * @param equipmentCardPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid EquipmentCardPo equipmentCardPo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IMaintenanceItemService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+
+
+/**
+ * 维护周期及项目 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-maintenanceItem-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:09
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/maintenanceItem")
+@RestController
+public interface IMaintenanceItemService {
+
+	/**
+	 * 
+	 * 【维护周期及项目】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<MaintenanceItemPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【维护周期及项目】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<MaintenanceItemPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.MaintenanceItemProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【维护周期及项目】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.MaintenanceItemProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【维护周期及项目】记录
+	 *
+	 * @param maintenanceItemPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid MaintenanceItemPo maintenanceItemPo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IMaintenanceRecordService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+
+
+/**
+ * 设备维护记录表 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-maintenanceRecord-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:05
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/maintenanceRecord")
+@RestController
+public interface IMaintenanceRecordService {
+
+	/**
+	 * 
+	 * 【设备维护记录表】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<MaintenanceRecordPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【设备维护记录表】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<MaintenanceRecordPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.MaintenanceRecordProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【设备维护记录表】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.MaintenanceRecordProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【设备维护记录表】记录
+	 *
+	 * @param maintenanceRecordPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid MaintenanceRecordPo maintenanceRecordPo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IRepairRecordService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+
+
+/**
+ * 设备维修记录表 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-repairRecord-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:49:00
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/repairRecord")
+@RestController
+public interface IRepairRecordService {
+
+	/**
+	 * 
+	 * 【设备维修记录表】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<RepairRecordPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【设备维修记录表】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<RepairRecordPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.RepairRecordProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【设备维修记录表】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.RepairRecordProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【设备维修记录表】记录
+	 *
+	 * @param repairRecordPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid RepairRecordPo repairRecordPo);
+}

+ 82 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/api/IScrappedRecordService.java

@@ -0,0 +1,82 @@
+package com.lc.ibps.components.equipment.api;
+
+import java.util.List;
+
+import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import javax.validation.Valid;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+
+
+/**
+ * 设备停用报废记录表 接口
+ *
+ *<pre> 
+ * 构建组:ibps-provider-scrappedRecord-api
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:12
+ *</pre>
+ */
+@Validated
+@RequestMapping(value = "/equipment/scrappedRecord")
+@RestController
+public interface IScrappedRecordService {
+
+	/**
+	 * 
+	 * 【设备停用报废记录表】列表(分页条件查询)数据
+	 *
+	 * @param request
+	 * @return
+	 */
+	@RequestMapping(value = "/query", method = RequestMethod.POST)
+	public APIResult<APIPageList<ScrappedRecordPo>> query(
+			@RequestBody(required = true) APIRequest request);
+	
+	/**
+	 * 
+	 * 根据id查询【设备停用报废记录表】
+	 *
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/get", method = { RequestMethod.GET })
+	public APIResult<ScrappedRecordPo> get(
+//			@NotBlank(message = "{com.lc.ibps.components.provider.ScrappedRecordProvider.id}") 
+			@RequestParam(name = "id", required = true) String id);
+	
+	/**
+	 * 
+	 * 批量删除【设备停用报废记录表】记录
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@RequestMapping(value = "/remove", method = { RequestMethod.POST })
+	public APIResult<Void> remove(
+//			@NotEmpty(message = "{com.lc.ibps.components.provider.ScrappedRecordProvider.ids}")
+			@RequestParam(name = "ids", required = true) String[] ids);
+	
+	/**
+	 * 
+	 * 保存【设备停用报废记录表】记录
+	 *
+	 * @param scrappedRecordPo
+	 * @return
+	 */
+	@RequestMapping(value = "/save", method = { RequestMethod.POST })
+	public APIResult<Void> save(
+ 			@RequestBody(required = true) @Valid ScrappedRecordPo scrappedRecordPo);
+}

+ 71 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/AccessoriesDevice.java

@@ -0,0 +1,71 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceDao;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceQueryDao;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:02
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class AccessoriesDevice extends AbstractDomain<String, AccessoriesDevicePo>{
+	
+	@Resource
+	private AccessoriesDeviceDao accessoriesDeviceDao;
+	@Resource
+	private AccessoriesDeviceQueryDao accessoriesDeviceQueryDao;
+	@Resource
+	private AccessoriesDeviceRepository accessoriesDeviceRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, AccessoriesDevicePo> getInternalQueryDao() {
+		return accessoriesDeviceQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, AccessoriesDevicePo> getInternalDao() {
+		return accessoriesDeviceDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "accessoriesDevice";
+	}
+	
+	
+	public void deleteByMainId(String mainId) {
+		List<AccessoriesDevicePo> list = accessoriesDeviceRepository.findByMainId(mainId);
+		for (AccessoriesDevicePo po : list) {
+			delete(po.getId());
+		}
+	}
+	
+}

+ 64 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/CalibrationCheckRecord.java

@@ -0,0 +1,64 @@
+package com.lc.ibps.components.equipment.domain;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordQueryDao;
+import com.lc.ibps.components.equipment.repository.CalibrationCheckRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:56
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class CalibrationCheckRecord extends AbstractDomain<String, CalibrationCheckRecordPo>{
+	
+	@Resource
+	private CalibrationCheckRecordDao calibrationCheckRecordDao;
+	@Resource
+	private CalibrationCheckRecordQueryDao calibrationCheckRecordQueryDao;
+	@Resource
+	private CalibrationCheckRecordRepository calibrationCheckRecordRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, CalibrationCheckRecordPo> getInternalQueryDao() {
+		return calibrationCheckRecordQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, CalibrationCheckRecordPo> getInternalDao() {
+		return calibrationCheckRecordDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "calibrationCheckRecord";
+	}
+	
+	
+	
+}

+ 126 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/EquipmentCard.java

@@ -0,0 +1,126 @@
+package com.lc.ibps.components.equipment.domain;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.string.StringUtil;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardDao;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardQueryDao;
+import com.lc.ibps.components.equipment.repository.EquipmentCardRepository;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 设备档案卡 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:55
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class EquipmentCard extends AbstractDomain<String, EquipmentCardPo>{
+	
+	@Resource
+	private EquipmentCardDao equipmentCardDao;
+	@Resource
+	private EquipmentCardQueryDao equipmentCardQueryDao;
+	@Resource
+	private EquipmentCardRepository equipmentCardRepository;
+
+	@Resource
+	private AccessoriesDeviceRepository accessoriesDeviceRepository;
+	@Resource
+	private MaintenanceItemRepository maintenanceItemRepository;
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, EquipmentCardPo> getInternalQueryDao() {
+		return equipmentCardQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, EquipmentCardPo> getInternalDao() {
+		return equipmentCardDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "equipmentCard";
+	}
+	
+	/**
+	 * 主从表一并保存 
+	 * void
+	 * @exception 
+	 * @since  1.0.0
+	 */
+	public void saveCascade(){
+		save();
+		if(getData().isDelBeforeSave()){
+			AccessoriesDevice accessoriesDevice = accessoriesDeviceRepository.newInstance();
+			accessoriesDevice.deleteByMainId(getData().getId());
+			MaintenanceItem maintenanceItem = maintenanceItemRepository.newInstance();
+			maintenanceItem.deleteByMainId(getData().getId());
+		}
+		
+		AccessoriesDevice accessoriesDevice = accessoriesDeviceRepository.newInstance();
+		if(BeanUtils.isNotEmpty(getData().getAccessoriesDevicePoList())){
+			for(AccessoriesDevicePo accessoriesDevicePo:getData().getAccessoriesDevicePoList()){
+				//设置外键
+				accessoriesDevicePo.setParentId(getData().getId());
+				accessoriesDevice.save(accessoriesDevicePo);
+			}
+		}
+		MaintenanceItem maintenanceItem = maintenanceItemRepository.newInstance();
+		if(BeanUtils.isNotEmpty(getData().getMaintenanceItemPoList())){
+			for(MaintenanceItemPo maintenanceItemPo:getData().getMaintenanceItemPoList()){
+				//设置外键
+				maintenanceItemPo.setParentId(getData().getId());
+				maintenanceItem.save(maintenanceItemPo);
+			}
+		}
+	}	
+	
+	/**
+	 * 主从表一并删除 
+	 * void
+	 * @exception 
+	 * @since  1.0.0
+	 */
+	public void deleteByIdsCascade(String[] ids){
+		for(String id : ids){
+			EquipmentCardPo po = equipmentCardRepository.get(id);
+			AccessoriesDevice accessoriesDevice = accessoriesDeviceRepository.newInstance();
+			if(BeanUtils.isNotEmpty(po) && BeanUtils.isNotEmpty(po.getId())){
+				accessoriesDevice.deleteByMainId(po.getId());
+			}	
+			MaintenanceItem maintenanceItem = maintenanceItemRepository.newInstance();
+			if(BeanUtils.isNotEmpty(po) && BeanUtils.isNotEmpty(po.getId())){
+				maintenanceItem.deleteByMainId(po.getId());
+			}	
+		}
+		deleteByIds(ids);
+	}
+	
+	
+}

+ 71 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/MaintenanceItem.java

@@ -0,0 +1,71 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemQueryDao;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:08
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class MaintenanceItem extends AbstractDomain<String, MaintenanceItemPo>{
+	
+	@Resource
+	private MaintenanceItemDao maintenanceItemDao;
+	@Resource
+	private MaintenanceItemQueryDao maintenanceItemQueryDao;
+	@Resource
+	private MaintenanceItemRepository maintenanceItemRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, MaintenanceItemPo> getInternalQueryDao() {
+		return maintenanceItemQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, MaintenanceItemPo> getInternalDao() {
+		return maintenanceItemDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "maintenanceItem";
+	}
+	
+	
+	public void deleteByMainId(String mainId) {
+		List<MaintenanceItemPo> list = maintenanceItemRepository.findByMainId(mainId);
+		for (MaintenanceItemPo po : list) {
+			delete(po.getId());
+		}
+	}
+	
+}

+ 64 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/MaintenanceRecord.java

@@ -0,0 +1,64 @@
+package com.lc.ibps.components.equipment.domain;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordQueryDao;
+import com.lc.ibps.components.equipment.repository.MaintenanceRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:05
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class MaintenanceRecord extends AbstractDomain<String, MaintenanceRecordPo>{
+	
+	@Resource
+	private MaintenanceRecordDao maintenanceRecordDao;
+	@Resource
+	private MaintenanceRecordQueryDao maintenanceRecordQueryDao;
+	@Resource
+	private MaintenanceRecordRepository maintenanceRecordRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, MaintenanceRecordPo> getInternalQueryDao() {
+		return maintenanceRecordQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, MaintenanceRecordPo> getInternalDao() {
+		return maintenanceRecordDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "maintenanceRecord";
+	}
+	
+	
+	
+}

+ 64 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/RepairRecord.java

@@ -0,0 +1,64 @@
+package com.lc.ibps.components.equipment.domain;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordQueryDao;
+import com.lc.ibps.components.equipment.repository.RepairRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:49:00
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class RepairRecord extends AbstractDomain<String, RepairRecordPo>{
+	
+	@Resource
+	private RepairRecordDao repairRecordDao;
+	@Resource
+	private RepairRecordQueryDao repairRecordQueryDao;
+	@Resource
+	private RepairRecordRepository repairRecordRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, RepairRecordPo> getInternalQueryDao() {
+		return repairRecordQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, RepairRecordPo> getInternalDao() {
+		return repairRecordDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "repairRecord";
+	}
+	
+	
+	
+}

+ 64 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/domain/ScrappedRecord.java

@@ -0,0 +1,64 @@
+package com.lc.ibps.components.equipment.domain;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.context.annotation.Scope;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.stereotype.Service;
+
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.domain.AbstractDomain;
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordQueryDao;
+import com.lc.ibps.components.equipment.repository.ScrappedRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 领域对象实体
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:12
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Service
+@Transactional
+@Scope("prototype")
+public class ScrappedRecord extends AbstractDomain<String, ScrappedRecordPo>{
+	
+	@Resource
+	private ScrappedRecordDao scrappedRecordDao;
+	@Resource
+	private ScrappedRecordQueryDao scrappedRecordQueryDao;
+	@Resource
+	private ScrappedRecordRepository scrappedRecordRepository;
+
+
+	protected void init(){
+		//
+	}
+	
+	@Override
+	protected IQueryDao<String, ScrappedRecordPo> getInternalQueryDao() {
+		return scrappedRecordQueryDao;
+	}
+	
+	@Override
+	protected IDao<String, ScrappedRecordPo> getInternalDao() {
+		return scrappedRecordDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "scrappedRecord";
+	}
+	
+	
+	
+}

+ 22 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceDao.java

@@ -0,0 +1,22 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:00
+ *</pre>
+ */
+public interface AccessoriesDeviceDao extends IDao<String, AccessoriesDevicePo> {
+	/**
+	 * 根据主表id删除 附属设备及配件表 记录
+	 * @param mainId 
+	 * void
+	 */
+	public void deleteByMainId(String mainId);
+}

+ 24 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceQueryDao.java

@@ -0,0 +1,24 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import java.util.List;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:00
+ *</pre>
+ */
+public interface AccessoriesDeviceQueryDao extends IQueryDao<String, AccessoriesDevicePo> {
+	/**
+	 * 根据主表ID查询 附属设备及配件表 列表
+	 * @param mainId
+	 * @return 
+	 * List<AccessoriesDevicePo>
+	 */
+	public List<AccessoriesDevicePo> findByMainId(String mainId);
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:55
+ *</pre>
+ */
+public interface CalibrationCheckRecordDao extends IDao<String, CalibrationCheckRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordQueryDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:55
+ *</pre>
+ */
+public interface CalibrationCheckRecordQueryDao extends IQueryDao<String, CalibrationCheckRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+/**
+ * 设备档案卡 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:54
+ *</pre>
+ */
+public interface EquipmentCardDao extends IDao<String, EquipmentCardPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardQueryDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+/**
+ * 设备档案卡 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:53
+ *</pre>
+ */
+public interface EquipmentCardQueryDao extends IQueryDao<String, EquipmentCardPo> {
+}

+ 22 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemDao.java

@@ -0,0 +1,22 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:06
+ *</pre>
+ */
+public interface MaintenanceItemDao extends IDao<String, MaintenanceItemPo> {
+	/**
+	 * 根据主表id删除 维护周期及项目 记录
+	 * @param mainId 
+	 * void
+	 */
+	public void deleteByMainId(String mainId);
+}

+ 24 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemQueryDao.java

@@ -0,0 +1,24 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import java.util.List;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:06
+ *</pre>
+ */
+public interface MaintenanceItemQueryDao extends IQueryDao<String, MaintenanceItemPo> {
+	/**
+	 * 根据主表ID查询 维护周期及项目 列表
+	 * @param mainId
+	 * @return 
+	 * List<MaintenanceItemPo>
+	 */
+	public List<MaintenanceItemPo> findByMainId(String mainId);
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:04
+ *</pre>
+ */
+public interface MaintenanceRecordDao extends IDao<String, MaintenanceRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordQueryDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:02
+ *</pre>
+ */
+public interface MaintenanceRecordQueryDao extends IQueryDao<String, MaintenanceRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:59
+ *</pre>
+ */
+public interface RepairRecordDao extends IDao<String, RepairRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordQueryDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:58
+ *</pre>
+ */
+public interface RepairRecordQueryDao extends IQueryDao<String, RepairRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:10
+ *</pre>
+ */
+public interface ScrappedRecordDao extends IDao<String, ScrappedRecordPo> {
+}

+ 16 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordQueryDao.java

@@ -0,0 +1,16 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 查询Dao接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:10
+ *</pre>
+ */
+public interface ScrappedRecordQueryDao extends IQueryDao<String, ScrappedRecordPo> {
+}

+ 29 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/AccessoriesDeviceDaoImpl.java

@@ -0,0 +1,29 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:00
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class AccessoriesDeviceDaoImpl extends MyBatisDaoImpl<String, AccessoriesDevicePo> implements AccessoriesDeviceDao{
+
+    @Override
+    public String getNamespace() {
+        return AccessoriesDevicePo.class.getName();
+    }
+	public void deleteByMainId(String mainId) {
+		deleteByKey("deleteByMainId", b().a("mainId", mainId).p());		
+	}
+}

+ 31 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/AccessoriesDeviceQueryDaoImpl.java

@@ -0,0 +1,31 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import java.util.List;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ *附属设备及配件表 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:59
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class AccessoriesDeviceQueryDaoImpl extends MyBatisQueryDaoImpl<String, AccessoriesDevicePo> implements AccessoriesDeviceQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return AccessoriesDevicePo.class.getName();
+    }
+	public List<AccessoriesDevicePo> findByMainId(String mainId) {
+		return findByKey("findByMainId", b().a("mainId", mainId).p());
+	}
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/CalibrationCheckRecordDaoImpl.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:55
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class CalibrationCheckRecordDaoImpl extends MyBatisDaoImpl<String, CalibrationCheckRecordPo> implements CalibrationCheckRecordDao{
+
+    @Override
+    public String getNamespace() {
+        return CalibrationCheckRecordPo.class.getName();
+    }
+}

+ 27 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/CalibrationCheckRecordQueryDaoImpl.java

@@ -0,0 +1,27 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ *检定校准实施记录表 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:55
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class CalibrationCheckRecordQueryDaoImpl extends MyBatisQueryDaoImpl<String, CalibrationCheckRecordPo> implements CalibrationCheckRecordQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return CalibrationCheckRecordPo.class.getName();
+    }
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/EquipmentCardDaoImpl.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+/**
+ * 设备档案卡 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:53
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class EquipmentCardDaoImpl extends MyBatisDaoImpl<String, EquipmentCardPo> implements EquipmentCardDao{
+
+    @Override
+    public String getNamespace() {
+        return EquipmentCardPo.class.getName();
+    }
+}

+ 27 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/EquipmentCardQueryDaoImpl.java

@@ -0,0 +1,27 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+/**
+ *设备档案卡 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:53
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class EquipmentCardQueryDaoImpl extends MyBatisQueryDaoImpl<String, EquipmentCardPo> implements EquipmentCardQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return EquipmentCardPo.class.getName();
+    }
+}

+ 29 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceItemDaoImpl.java

@@ -0,0 +1,29 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:06
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class MaintenanceItemDaoImpl extends MyBatisDaoImpl<String, MaintenanceItemPo> implements MaintenanceItemDao{
+
+    @Override
+    public String getNamespace() {
+        return MaintenanceItemPo.class.getName();
+    }
+	public void deleteByMainId(String mainId) {
+		deleteByKey("deleteByMainId", b().a("mainId", mainId).p());		
+	}
+}

+ 31 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceItemQueryDaoImpl.java

@@ -0,0 +1,31 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import java.util.List;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ *维护周期及项目 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:06
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class MaintenanceItemQueryDaoImpl extends MyBatisQueryDaoImpl<String, MaintenanceItemPo> implements MaintenanceItemQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return MaintenanceItemPo.class.getName();
+    }
+	public List<MaintenanceItemPo> findByMainId(String mainId) {
+		return findByKey("findByMainId", b().a("mainId", mainId).p());
+	}
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceRecordDaoImpl.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:03
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class MaintenanceRecordDaoImpl extends MyBatisDaoImpl<String, MaintenanceRecordPo> implements MaintenanceRecordDao{
+
+    @Override
+    public String getNamespace() {
+        return MaintenanceRecordPo.class.getName();
+    }
+}

+ 27 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/MaintenanceRecordQueryDaoImpl.java

@@ -0,0 +1,27 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ *设备维护记录表 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:02
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class MaintenanceRecordQueryDaoImpl extends MyBatisQueryDaoImpl<String, MaintenanceRecordPo> implements MaintenanceRecordQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return MaintenanceRecordPo.class.getName();
+    }
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/RepairRecordDaoImpl.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:59
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class RepairRecordDaoImpl extends MyBatisDaoImpl<String, RepairRecordPo> implements RepairRecordDao{
+
+    @Override
+    public String getNamespace() {
+        return RepairRecordPo.class.getName();
+    }
+}

+ 27 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/RepairRecordQueryDaoImpl.java

@@ -0,0 +1,27 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ *设备维修记录表 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:58
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class RepairRecordQueryDaoImpl extends MyBatisQueryDaoImpl<String, RepairRecordPo> implements RepairRecordQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return RepairRecordPo.class.getName();
+    }
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/ScrappedRecordDaoImpl.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 Dao接口的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:10
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@Repository
+public class ScrappedRecordDaoImpl extends MyBatisDaoImpl<String, ScrappedRecordPo> implements ScrappedRecordDao{
+
+    @Override
+    public String getNamespace() {
+        return ScrappedRecordPo.class.getName();
+    }
+}

+ 27 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/dao/impl/ScrappedRecordQueryDaoImpl.java

@@ -0,0 +1,27 @@
+package com.lc.ibps.components.equipment.persistence.dao.impl;
+
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.db.ddd.dao.MyBatisQueryDaoImpl;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ *设备停用报废记录表 查询Dao的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:10
+ *</pre>
+ */
+ @SuppressWarnings("serial")
+@Repository
+public class ScrappedRecordQueryDaoImpl extends MyBatisQueryDaoImpl<String, ScrappedRecordPo> implements ScrappedRecordQueryDao{
+
+    @Override
+    public String getNamespace() {
+        return ScrappedRecordPo.class.getName();
+    }
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/AccessoriesDevicePo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 附属设备及配件表 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:59
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "附属设备及配件表对象")
+public class AccessoriesDevicePo extends AccessoriesDeviceTbl{
+
+	public static AccessoriesDevicePo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, AccessoriesDevicePo.class);
+	}
+	
+	public static List<AccessoriesDevicePo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, AccessoriesDevicePo.class);
+	}
+}

+ 233 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/AccessoriesDeviceTbl.java

@@ -0,0 +1,233 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 附属设备及配件表 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:59
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "附属设备及配件表对象")
+public class AccessoriesDeviceTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "外键")
+	protected String  parentId; 		/*外键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "名称")
+	protected String  mingCheng; 		/*名称*/
+	@ApiModelProperty(value = "规格型号")
+	protected String  guiGeXingHao; 		/*规格型号*/
+	@ApiModelProperty(value = "单位")
+	protected String  danWei; 		/*单位*/
+	@ApiModelProperty(value = "数量")
+	protected String  shuLiang; 		/*数量*/
+	@ApiModelProperty(value = "用途")
+	protected String  yonTu; 		/*用途*/
+	@ApiModelProperty(value = "用途")
+	protected String  yongTu; 		/*用途*/
+	@ApiModelProperty(value = "规格型号")
+	protected String  guiGeXingHao1; 		/*规格型号*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setParentId(String parentId) 
+	{
+		this.parentId = parentId;
+	}
+	/**
+	 * 返回 外键
+	 * @return
+	 */
+	public String getParentId() 
+	{
+		return this.parentId;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setMingCheng(String mingCheng) 
+	{
+		this.mingCheng = mingCheng;
+	}
+	/**
+	 * 返回 名称
+	 * @return
+	 */
+	public String getMingCheng() 
+	{
+		return this.mingCheng;
+	}
+	public void setGuiGeXingHao(String guiGeXingHao) 
+	{
+		this.guiGeXingHao = guiGeXingHao;
+	}
+	/**
+	 * 返回 规格型号
+	 * @return
+	 */
+	public String getGuiGeXingHao() 
+	{
+		return this.guiGeXingHao;
+	}
+	public void setDanWei(String danWei) 
+	{
+		this.danWei = danWei;
+	}
+	/**
+	 * 返回 单位
+	 * @return
+	 */
+	public String getDanWei() 
+	{
+		return this.danWei;
+	}
+	public void setShuLiang(String shuLiang) 
+	{
+		this.shuLiang = shuLiang;
+	}
+	/**
+	 * 返回 数量
+	 * @return
+	 */
+	public String getShuLiang() 
+	{
+		return this.shuLiang;
+	}
+	public void setYonTu(String yonTu) 
+	{
+		this.yonTu = yonTu;
+	}
+	/**
+	 * 返回 用途
+	 * @return
+	 */
+	public String getYonTu() 
+	{
+		return this.yonTu;
+	}
+	public void setYongTu(String yongTu) 
+	{
+		this.yongTu = yongTu;
+	}
+	/**
+	 * 返回 用途
+	 * @return
+	 */
+	public String getYongTu() 
+	{
+		return this.yongTu;
+	}
+	public void setGuiGeXingHao1(String guiGeXingHao1) 
+	{
+		this.guiGeXingHao1 = guiGeXingHao1;
+	}
+	/**
+	 * 返回 规格型号
+	 * @return
+	 */
+	public String getGuiGeXingHao1() 
+	{
+		return this.guiGeXingHao1;
+	}
+	
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/CalibrationCheckRecordPo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 检定校准实施记录表 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:54
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "检定校准实施记录表对象")
+public class CalibrationCheckRecordPo extends CalibrationCheckRecordTbl{
+
+	public static CalibrationCheckRecordPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, CalibrationCheckRecordPo.class);
+	}
+	
+	public static List<CalibrationCheckRecordPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, CalibrationCheckRecordPo.class);
+	}
+}

+ 555 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/CalibrationCheckRecordTbl.java

@@ -0,0 +1,555 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 检定校准实施记录表 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:54
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "检定校准实施记录表对象")
+public class CalibrationCheckRecordTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "外键")
+	protected String  parentId; 		/*外键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "设备名称")
+	protected String  sheBeiMingChen; 		/*设备名称*/
+	@ApiModelProperty(value = "设备卡ID")
+	protected String  sheBeiId; 		/*设备卡ID*/
+	@ApiModelProperty(value = "型号/规格")
+	protected String  xingHaoGuiGe; 		/*型号/规格*/
+	@ApiModelProperty(value = "出厂编号")
+	protected String  chuChangBianHa; 		/*出厂编号*/
+	@ApiModelProperty(value = "证书编号")
+	protected String  zhunQueDu; 		/*证书编号*/
+	@ApiModelProperty(value = "范围")
+	protected String  liangCheng; 		/*范围*/
+	@ApiModelProperty(value = "检定单位")
+	protected String  jianDingDanWei; 		/*检定单位*/
+	@ApiModelProperty(value = "检定周期")
+	protected String  jianDingZhouQi; 		/*检定周期*/
+	@ApiModelProperty(value = "已检/校日期")
+	protected String  yiJianXiaoRiQ; 		/*已检/校日期*/
+	@ApiModelProperty(value = "计划日期")
+	protected String  jiHuaRiQi; 		/*计划日期*/
+	@ApiModelProperty(value = "附件上传")
+	protected String  beiZhu; 		/*附件上传*/
+	@ApiModelProperty(value = "设备名称")
+	protected String  sheBeiMingChe; 		/*设备名称*/
+	@ApiModelProperty(value = "送检单位")
+	protected String  songJianDanWei; 		/*送检单位*/
+	@ApiModelProperty(value = "检定/校准项目")
+	protected String  jianDingXiangM; 		/*检定/校准项目*/
+	@ApiModelProperty(value = "最大允差/准确度/U")
+	protected String  zuiDaYunCha; 		/*最大允差/准确度/U*/
+	@ApiModelProperty(value = "负责人")
+	protected String  fuZeRen; 		/*负责人*/
+	@ApiModelProperty(value = "设备编号中文")
+	protected String  bianHaoZhongWe; 		/*设备编号中文*/
+	@ApiModelProperty(value = "地点")
+	protected String  diDian; 		/*地点*/
+	@ApiModelProperty(value = "设备类型")
+	protected String  sheBeiLeiXing; 		/*设备类型*/
+	@ApiModelProperty(value = "厂家/品牌")
+	protected String  changJiaPinPai; 		/*厂家/品牌*/
+	@ApiModelProperty(value = "实施日期")
+	protected String  shiShiRiQi; 		/*实施日期*/
+	@ApiModelProperty(value = "修正因子")
+	protected String  xiuZhengYinZi; 		/*修正因子*/
+	@ApiModelProperty(value = "经办人")
+	protected String  jingBanRen; 		/*经办人*/
+	@ApiModelProperty(value = "检定/校准单位ID")
+	protected String  danWeiId; 		/*检定/校准单位ID*/
+	@ApiModelProperty(value = "校验项目ID")
+	protected String  xiangMuId; 		/*校验项目ID*/
+	@ApiModelProperty(value = "参数")
+	protected String  canShu; 		/*参数*/
+	@ApiModelProperty(value = "原设备编号")
+	protected String  yuanSheBeiBian; 		/*原设备编号*/
+	@ApiModelProperty(value = "marks")
+	protected String  marks; 		/*marks*/
+	@ApiModelProperty(value = "有效期至")
+	protected String  youXiaoQiZhi; 		/*有效期至*/
+	@ApiModelProperty(value = "recordParentId")
+	protected String  recordParentid; 		/*recordParentId*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setParentId(String parentId) 
+	{
+		this.parentId = parentId;
+	}
+	/**
+	 * 返回 外键
+	 * @return
+	 */
+	public String getParentId() 
+	{
+		return this.parentId;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setSheBeiMingChen(String sheBeiMingChen) 
+	{
+		this.sheBeiMingChen = sheBeiMingChen;
+	}
+	/**
+	 * 返回 设备名称
+	 * @return
+	 */
+	public String getSheBeiMingChen() 
+	{
+		return this.sheBeiMingChen;
+	}
+	public void setSheBeiId(String sheBeiId) 
+	{
+		this.sheBeiId = sheBeiId;
+	}
+	/**
+	 * 返回 设备卡ID
+	 * @return
+	 */
+	public String getSheBeiId() 
+	{
+		return this.sheBeiId;
+	}
+	public void setXingHaoGuiGe(String xingHaoGuiGe) 
+	{
+		this.xingHaoGuiGe = xingHaoGuiGe;
+	}
+	/**
+	 * 返回 型号/规格
+	 * @return
+	 */
+	public String getXingHaoGuiGe() 
+	{
+		return this.xingHaoGuiGe;
+	}
+	public void setChuChangBianHa(String chuChangBianHa) 
+	{
+		this.chuChangBianHa = chuChangBianHa;
+	}
+	/**
+	 * 返回 出厂编号
+	 * @return
+	 */
+	public String getChuChangBianHa() 
+	{
+		return this.chuChangBianHa;
+	}
+	public void setZhunQueDu(String zhunQueDu) 
+	{
+		this.zhunQueDu = zhunQueDu;
+	}
+	/**
+	 * 返回 证书编号
+	 * @return
+	 */
+	public String getZhunQueDu() 
+	{
+		return this.zhunQueDu;
+	}
+	public void setLiangCheng(String liangCheng) 
+	{
+		this.liangCheng = liangCheng;
+	}
+	/**
+	 * 返回 范围
+	 * @return
+	 */
+	public String getLiangCheng() 
+	{
+		return this.liangCheng;
+	}
+	public void setJianDingDanWei(String jianDingDanWei) 
+	{
+		this.jianDingDanWei = jianDingDanWei;
+	}
+	/**
+	 * 返回 检定单位
+	 * @return
+	 */
+	public String getJianDingDanWei() 
+	{
+		return this.jianDingDanWei;
+	}
+	public void setJianDingZhouQi(String jianDingZhouQi) 
+	{
+		this.jianDingZhouQi = jianDingZhouQi;
+	}
+	/**
+	 * 返回 检定周期
+	 * @return
+	 */
+	public String getJianDingZhouQi() 
+	{
+		return this.jianDingZhouQi;
+	}
+	public void setYiJianXiaoRiQ(String yiJianXiaoRiQ) 
+	{
+		this.yiJianXiaoRiQ = yiJianXiaoRiQ;
+	}
+	/**
+	 * 返回 已检/校日期
+	 * @return
+	 */
+	public String getYiJianXiaoRiQ() 
+	{
+		return this.yiJianXiaoRiQ;
+	}
+	public void setJiHuaRiQi(String jiHuaRiQi) 
+	{
+		this.jiHuaRiQi = jiHuaRiQi;
+	}
+	/**
+	 * 返回 计划日期
+	 * @return
+	 */
+	public String getJiHuaRiQi() 
+	{
+		return this.jiHuaRiQi;
+	}
+	public void setBeiZhu(String beiZhu) 
+	{
+		this.beiZhu = beiZhu;
+	}
+	/**
+	 * 返回 附件上传
+	 * @return
+	 */
+	public String getBeiZhu() 
+	{
+		return this.beiZhu;
+	}
+	public void setSheBeiMingChe(String sheBeiMingChe) 
+	{
+		this.sheBeiMingChe = sheBeiMingChe;
+	}
+	/**
+	 * 返回 设备名称
+	 * @return
+	 */
+	public String getSheBeiMingChe() 
+	{
+		return this.sheBeiMingChe;
+	}
+	public void setSongJianDanWei(String songJianDanWei) 
+	{
+		this.songJianDanWei = songJianDanWei;
+	}
+	/**
+	 * 返回 送检单位
+	 * @return
+	 */
+	public String getSongJianDanWei() 
+	{
+		return this.songJianDanWei;
+	}
+	public void setJianDingXiangM(String jianDingXiangM) 
+	{
+		this.jianDingXiangM = jianDingXiangM;
+	}
+	/**
+	 * 返回 检定/校准项目
+	 * @return
+	 */
+	public String getJianDingXiangM() 
+	{
+		return this.jianDingXiangM;
+	}
+	public void setZuiDaYunCha(String zuiDaYunCha) 
+	{
+		this.zuiDaYunCha = zuiDaYunCha;
+	}
+	/**
+	 * 返回 最大允差/准确度/U
+	 * @return
+	 */
+	public String getZuiDaYunCha() 
+	{
+		return this.zuiDaYunCha;
+	}
+	public void setFuZeRen(String fuZeRen) 
+	{
+		this.fuZeRen = fuZeRen;
+	}
+	/**
+	 * 返回 负责人
+	 * @return
+	 */
+	public String getFuZeRen() 
+	{
+		return this.fuZeRen;
+	}
+	public void setBianHaoZhongWe(String bianHaoZhongWe) 
+	{
+		this.bianHaoZhongWe = bianHaoZhongWe;
+	}
+	/**
+	 * 返回 设备编号中文
+	 * @return
+	 */
+	public String getBianHaoZhongWe() 
+	{
+		return this.bianHaoZhongWe;
+	}
+	public void setDiDian(String diDian) 
+	{
+		this.diDian = diDian;
+	}
+	/**
+	 * 返回 地点
+	 * @return
+	 */
+	public String getDiDian() 
+	{
+		return this.diDian;
+	}
+	public void setSheBeiLeiXing(String sheBeiLeiXing) 
+	{
+		this.sheBeiLeiXing = sheBeiLeiXing;
+	}
+	/**
+	 * 返回 设备类型
+	 * @return
+	 */
+	public String getSheBeiLeiXing() 
+	{
+		return this.sheBeiLeiXing;
+	}
+	public void setChangJiaPinPai(String changJiaPinPai) 
+	{
+		this.changJiaPinPai = changJiaPinPai;
+	}
+	/**
+	 * 返回 厂家/品牌
+	 * @return
+	 */
+	public String getChangJiaPinPai() 
+	{
+		return this.changJiaPinPai;
+	}
+	public void setShiShiRiQi(String shiShiRiQi) 
+	{
+		this.shiShiRiQi = shiShiRiQi;
+	}
+	/**
+	 * 返回 实施日期
+	 * @return
+	 */
+	public String getShiShiRiQi() 
+	{
+		return this.shiShiRiQi;
+	}
+	public void setXiuZhengYinZi(String xiuZhengYinZi) 
+	{
+		this.xiuZhengYinZi = xiuZhengYinZi;
+	}
+	/**
+	 * 返回 修正因子
+	 * @return
+	 */
+	public String getXiuZhengYinZi() 
+	{
+		return this.xiuZhengYinZi;
+	}
+	public void setJingBanRen(String jingBanRen) 
+	{
+		this.jingBanRen = jingBanRen;
+	}
+	/**
+	 * 返回 经办人
+	 * @return
+	 */
+	public String getJingBanRen() 
+	{
+		return this.jingBanRen;
+	}
+	public void setDanWeiId(String danWeiId) 
+	{
+		this.danWeiId = danWeiId;
+	}
+	/**
+	 * 返回 检定/校准单位ID
+	 * @return
+	 */
+	public String getDanWeiId() 
+	{
+		return this.danWeiId;
+	}
+	public void setXiangMuId(String xiangMuId) 
+	{
+		this.xiangMuId = xiangMuId;
+	}
+	/**
+	 * 返回 校验项目ID
+	 * @return
+	 */
+	public String getXiangMuId() 
+	{
+		return this.xiangMuId;
+	}
+	public void setCanShu(String canShu) 
+	{
+		this.canShu = canShu;
+	}
+	/**
+	 * 返回 参数
+	 * @return
+	 */
+	public String getCanShu() 
+	{
+		return this.canShu;
+	}
+	public void setYuanSheBeiBian(String yuanSheBeiBian) 
+	{
+		this.yuanSheBeiBian = yuanSheBeiBian;
+	}
+	/**
+	 * 返回 原设备编号
+	 * @return
+	 */
+	public String getYuanSheBeiBian() 
+	{
+		return this.yuanSheBeiBian;
+	}
+	public void setMarks(String marks) 
+	{
+		this.marks = marks;
+	}
+	/**
+	 * 返回 marks
+	 * @return
+	 */
+	public String getMarks() 
+	{
+		return this.marks;
+	}
+	public void setYouXiaoQiZhi(String youXiaoQiZhi) 
+	{
+		this.youXiaoQiZhi = youXiaoQiZhi;
+	}
+	/**
+	 * 返回 有效期至
+	 * @return
+	 */
+	public String getYouXiaoQiZhi() 
+	{
+		return this.youXiaoQiZhi;
+	}
+	public void setRecordParentid(String recordParentid) 
+	{
+		this.recordParentid = recordParentid;
+	}
+	/**
+	 * 返回 recordParentId
+	 * @return
+	 */
+	public String getRecordParentid() 
+	{
+		return this.recordParentid;
+	}
+	
+}

+ 59 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/EquipmentCardPo.java

@@ -0,0 +1,59 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.ArrayList;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 设备档案卡 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:52
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备档案卡对象")
+public class EquipmentCardPo extends EquipmentCardTbl{
+	private boolean delBeforeSave = true;
+	public boolean isDelBeforeSave() {
+		return delBeforeSave;
+	}
+	public void setDelBeforeSave(boolean delBeforeSave) {
+		this.delBeforeSave = delBeforeSave;
+	}	
+	
+	private List<AccessoriesDevicePo> accessoriesDevicePoList = new ArrayList<AccessoriesDevicePo>();
+	public List<AccessoriesDevicePo> getAccessoriesDevicePoList() {
+		return accessoriesDevicePoList;
+	}
+	public void setAccessoriesDevicePoList(List<AccessoriesDevicePo> accessoriesDevicePoList) {
+		this.accessoriesDevicePoList = accessoriesDevicePoList;
+	}
+	
+	private List<MaintenanceItemPo> maintenanceItemPoList = new ArrayList<MaintenanceItemPo>();
+	public List<MaintenanceItemPo> getMaintenanceItemPoList() {
+		return maintenanceItemPoList;
+	}
+	public void setMaintenanceItemPoList(List<MaintenanceItemPo> maintenanceItemPoList) {
+		this.maintenanceItemPoList = maintenanceItemPoList;
+	}
+
+	public static EquipmentCardPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, EquipmentCardPo.class);
+	}
+	
+	public static List<EquipmentCardPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, EquipmentCardPo.class);
+	}
+}

+ 1143 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/EquipmentCardTbl.java

@@ -0,0 +1,1143 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 设备档案卡 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:52
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备档案卡对象")
+public class EquipmentCardTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "外键")
+	protected String  parentId; 		/*外键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "仪器设备名称")
+	protected String  sheBeiMingCheng; 		/*仪器设备名称*/
+	@ApiModelProperty(value = "厂商")
+	protected String  changShang; 		/*厂商*/
+	@ApiModelProperty(value = "规格型号")
+	protected String  guiGeXingHao; 		/*规格型号*/
+	@ApiModelProperty(value = "出厂编号")
+	protected String  chuChangBianHao; 		/*出厂编号*/
+	@ApiModelProperty(value = "接收日期")
+	protected String  jieShouRiQi; 		/*接收日期*/
+	@ApiModelProperty(value = "启用日期")
+	protected String  qiYongRiQi; 		/*启用日期*/
+	@ApiModelProperty(value = "存放地点")
+	protected String  cunFangDiDian; 		/*存放地点*/
+	@ApiModelProperty(value = "接收时状态")
+	protected String  jieShouZhuangTai; 		/*接收时状态*/
+	@ApiModelProperty(value = "初次检定/校准时间")
+	protected String  ccjdsj; 		/*初次检定/校准时间*/
+	@ApiModelProperty(value = "检定/校准 周期")
+	protected String  jjzq; 		/*检定/校准 周期*/
+	@ApiModelProperty(value = "专业部门")
+	protected String  zhuanYeBuMen; 		/*专业部门*/
+	@ApiModelProperty(value = "管理人")
+	protected String  guanLiRen; 		/*管理人*/
+	@ApiModelProperty(value = "维护方式")
+	protected String  weiHuFangShi; 		/*维护方式*/
+	@ApiModelProperty(value = "维护保养项目")
+	protected String  jzfs; 		/*维护保养项目*/
+	@ApiModelProperty(value = "仪器设备外观照片")
+	protected String  yqzp; 		/*仪器设备外观照片*/
+	@ApiModelProperty(value = "设备购买申请表")
+	protected String  sheBeiGouMaiS; 		/*设备购买申请表*/
+	@ApiModelProperty(value = "设备验收表")
+	protected String  sheBeiYanShou; 		/*设备验收表*/
+	@ApiModelProperty(value = "总计划外键")
+	protected String  zongJiHuaWaiJ; 		/*总计划外键*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "设备类型")
+	protected String  sheBeiLeiXing; 		/*设备类型*/
+	@ApiModelProperty(value = "设备状态")
+	protected String  sheBeiZhuangTa; 		/*设备状态*/
+	@ApiModelProperty(value = "设备识别号")
+	protected String  sheBeiShiBieH; 		/*设备识别号*/
+	@ApiModelProperty(value = "选择设备")
+	protected String  xuanZeSheBei; 		/*选择设备*/
+	@ApiModelProperty(value = "分析结果")
+	protected String  sheBeiBianHao; 		/*分析结果*/
+	@ApiModelProperty(value = "购进日期")
+	protected String  gouJinRiQi; 		/*购进日期*/
+	@ApiModelProperty(value = "是否校准")
+	protected String  shiFouXiaoZhun; 		/*是否校准*/
+	@ApiModelProperty(value = "供应商")
+	protected String  gongYingShang; 		/*供应商*/
+	@ApiModelProperty(value = "联系方式")
+	protected String  lianXiFangShi; 		/*联系方式*/
+	@ApiModelProperty(value = "备注")
+	protected String  beiZhu; 		/*备注*/
+	@ApiModelProperty(value = "校准有效期至")
+	protected String  xiaoZhunYouXia; 		/*校准有效期至*/
+	@ApiModelProperty(value = "出厂日期")
+	protected String  chuChangRiQi; 		/*出厂日期*/
+	@ApiModelProperty(value = "设备名称转换")
+	protected String  sheBeiMingChen; 		/*设备名称转换*/
+	@ApiModelProperty(value = "是否期间核查")
+	protected String  shiFouQiJianH; 		/*是否期间核查*/
+	@ApiModelProperty(value = "已校日期")
+	protected String  yiXiaoRiQi; 		/*已校日期*/
+	@ApiModelProperty(value = "使用年限")
+	protected String  heChaXiaoZhun; 		/*使用年限*/
+	@ApiModelProperty(value = "测量/工作范围")
+	protected String  ceLiangGongZuo; 		/*测量/工作范围*/
+	@ApiModelProperty(value = "关机时间")
+	protected String  shiJiShiYongF; 		/*关机时间*/
+	@ApiModelProperty(value = "检定/校准项目")
+	protected String  jianDingXiaoZh; 		/*检定/校准项目*/
+	@ApiModelProperty(value = "检定/校准参数")
+	protected String  jianDingXiao; 		/*检定/校准参数*/
+	@ApiModelProperty(value = "开机时间")
+	protected String  kaiShiShiYong; 		/*开机时间*/
+	@ApiModelProperty(value = "证书编号")
+	protected String  zhengShuBianHa; 		/*证书编号*/
+	@ApiModelProperty(value = "是否限用")
+	protected String  xiaoZhunWuCha; 		/*是否限用*/
+	@ApiModelProperty(value = "修正值/修正因子")
+	protected String  xiuZhengZhiXiu; 		/*修正值/修正因子*/
+	@ApiModelProperty(value = "检定/校准周期")
+	protected String  xiaoZhunZQ; 		/*检定/校准周期*/
+	@ApiModelProperty(value = "U/精确度/最大允差")
+	protected String  zuiDaYunCha; 		/*U/精确度/最大允差*/
+	@ApiModelProperty(value = "采购合同")
+	protected String  caiGouHeTong; 		/*采购合同*/
+	@ApiModelProperty(value = "资质证书")
+	protected String  faPiao; 		/*资质证书*/
+	@ApiModelProperty(value = "原设备编号")
+	protected String  yuanSheBeiBian; 		/*原设备编号*/
+	@ApiModelProperty(value = "部门")
+	protected String  buMen; 		/*部门*/
+	@ApiModelProperty(value = "是否24H开机")
+	protected String  jianKongYiJu; 		/*是否24H开机*/
+	@ApiModelProperty(value = "必须的环境条件")
+	protected String  biXuDeHuanJin; 		/*必须的环境条件*/
+	@ApiModelProperty(value = "核查日期")
+	protected String  biXuSheShi; 		/*核查日期*/
+	@ApiModelProperty(value = "资产原值")
+	protected String  ziChanYuanZhi; 		/*资产原值*/
+	@ApiModelProperty(value = "资产编号")
+	protected String  ziChanBianHao; 		/*资产编号*/
+	@ApiModelProperty(value = "使用科室")
+	protected String  shiYongKeShi; 		/*使用科室*/
+	@ApiModelProperty(value = "备用字段")
+	protected String  zhuangTaiFenXi; 		/*备用字段*/
+	@ApiModelProperty(value = "是否维护")
+	protected String  shiFouWeiHu; 		/*是否维护*/
+	@ApiModelProperty(value = "维护周期")
+	protected String  weiHuZhouQi; 		/*维护周期*/
+	@ApiModelProperty(value = "事务说明")
+	protected String  shiWuShuoMing; 		/*事务说明*/
+	@ApiModelProperty(value = "存放位置ID")
+	protected String  cunFangWeiZhi; 		/*存放位置ID*/
+	@ApiModelProperty(value = "温度应用修正值")
+	protected String  wenDuYingYong; 		/*温度应用修正值*/
+	@ApiModelProperty(value = "湿度应用修正值")
+	protected String  shiDuYingYong; 		/*湿度应用修正值*/
+	@ApiModelProperty(value = "机身序号")
+	protected String  jiShenXuHao; 		/*机身序号*/
+	@ApiModelProperty(value = "验收日期")
+	protected String  yanShouRiQi; 		/*验收日期*/
+	@ApiModelProperty(value = "环境要求")
+	protected String  huanJingYaoQiu; 		/*环境要求*/
+	@ApiModelProperty(value = "电源要求")
+	protected String  dianYuanYaoQiu; 		/*电源要求*/
+	@ApiModelProperty(value = "附件上传")
+	protected String  fuJianShang; 		/*附件上传*/
+	@ApiModelProperty(value = "注册证号")
+	protected String  zhuCeZhengHao; 		/*注册证号*/
+	@ApiModelProperty(value = "快照")
+	protected String  kuaiZhao; 		/*快照*/
+	@ApiModelProperty(value = "地点")
+	protected String  diDian; 		/*地点*/
+	@ApiModelProperty(value = "附件细类")
+	protected String  wenJianXiLei; 		/*附件细类*/
+	@ApiModelProperty(value = "细类id")
+	protected String  xiLeiId; 		/*细类id*/
+	@ApiModelProperty(value = "权限类型")
+	protected String  quanXianLeiXin; 		/*权限类型*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setParentId(String parentId) 
+	{
+		this.parentId = parentId;
+	}
+	/**
+	 * 返回 外键
+	 * @return
+	 */
+	public String getParentId() 
+	{
+		return this.parentId;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setSheBeiMingCheng(String sheBeiMingCheng) 
+	{
+		this.sheBeiMingCheng = sheBeiMingCheng;
+	}
+	/**
+	 * 返回 仪器设备名称
+	 * @return
+	 */
+	public String getSheBeiMingCheng() 
+	{
+		return this.sheBeiMingCheng;
+	}
+	public void setChangShang(String changShang) 
+	{
+		this.changShang = changShang;
+	}
+	/**
+	 * 返回 厂商
+	 * @return
+	 */
+	public String getChangShang() 
+	{
+		return this.changShang;
+	}
+	public void setGuiGeXingHao(String guiGeXingHao) 
+	{
+		this.guiGeXingHao = guiGeXingHao;
+	}
+	/**
+	 * 返回 规格型号
+	 * @return
+	 */
+	public String getGuiGeXingHao() 
+	{
+		return this.guiGeXingHao;
+	}
+	public void setChuChangBianHao(String chuChangBianHao) 
+	{
+		this.chuChangBianHao = chuChangBianHao;
+	}
+	/**
+	 * 返回 出厂编号
+	 * @return
+	 */
+	public String getChuChangBianHao() 
+	{
+		return this.chuChangBianHao;
+	}
+	public void setJieShouRiQi(String jieShouRiQi) 
+	{
+		this.jieShouRiQi = jieShouRiQi;
+	}
+	/**
+	 * 返回 接收日期
+	 * @return
+	 */
+	public String getJieShouRiQi() 
+	{
+		return this.jieShouRiQi;
+	}
+	public void setQiYongRiQi(String qiYongRiQi) 
+	{
+		this.qiYongRiQi = qiYongRiQi;
+	}
+	/**
+	 * 返回 启用日期
+	 * @return
+	 */
+	public String getQiYongRiQi() 
+	{
+		return this.qiYongRiQi;
+	}
+	public void setCunFangDiDian(String cunFangDiDian) 
+	{
+		this.cunFangDiDian = cunFangDiDian;
+	}
+	/**
+	 * 返回 存放地点
+	 * @return
+	 */
+	public String getCunFangDiDian() 
+	{
+		return this.cunFangDiDian;
+	}
+	public void setJieShouZhuangTai(String jieShouZhuangTai) 
+	{
+		this.jieShouZhuangTai = jieShouZhuangTai;
+	}
+	/**
+	 * 返回 接收时状态
+	 * @return
+	 */
+	public String getJieShouZhuangTai() 
+	{
+		return this.jieShouZhuangTai;
+	}
+	public void setCcjdsj(String ccjdsj) 
+	{
+		this.ccjdsj = ccjdsj;
+	}
+	/**
+	 * 返回 初次检定/校准时间
+	 * @return
+	 */
+	public String getCcjdsj() 
+	{
+		return this.ccjdsj;
+	}
+	public void setJjzq(String jjzq) 
+	{
+		this.jjzq = jjzq;
+	}
+	/**
+	 * 返回 检定/校准 周期
+	 * @return
+	 */
+	public String getJjzq() 
+	{
+		return this.jjzq;
+	}
+	public void setZhuanYeBuMen(String zhuanYeBuMen) 
+	{
+		this.zhuanYeBuMen = zhuanYeBuMen;
+	}
+	/**
+	 * 返回 专业部门
+	 * @return
+	 */
+	public String getZhuanYeBuMen() 
+	{
+		return this.zhuanYeBuMen;
+	}
+	public void setGuanLiRen(String guanLiRen) 
+	{
+		this.guanLiRen = guanLiRen;
+	}
+	/**
+	 * 返回 管理人
+	 * @return
+	 */
+	public String getGuanLiRen() 
+	{
+		return this.guanLiRen;
+	}
+	public void setWeiHuFangShi(String weiHuFangShi) 
+	{
+		this.weiHuFangShi = weiHuFangShi;
+	}
+	/**
+	 * 返回 维护方式
+	 * @return
+	 */
+	public String getWeiHuFangShi() 
+	{
+		return this.weiHuFangShi;
+	}
+	public void setJzfs(String jzfs) 
+	{
+		this.jzfs = jzfs;
+	}
+	/**
+	 * 返回 维护保养项目
+	 * @return
+	 */
+	public String getJzfs() 
+	{
+		return this.jzfs;
+	}
+	public void setYqzp(String yqzp) 
+	{
+		this.yqzp = yqzp;
+	}
+	/**
+	 * 返回 仪器设备外观照片
+	 * @return
+	 */
+	public String getYqzp() 
+	{
+		return this.yqzp;
+	}
+	public void setSheBeiGouMaiS(String sheBeiGouMaiS) 
+	{
+		this.sheBeiGouMaiS = sheBeiGouMaiS;
+	}
+	/**
+	 * 返回 设备购买申请表
+	 * @return
+	 */
+	public String getSheBeiGouMaiS() 
+	{
+		return this.sheBeiGouMaiS;
+	}
+	public void setSheBeiYanShou(String sheBeiYanShou) 
+	{
+		this.sheBeiYanShou = sheBeiYanShou;
+	}
+	/**
+	 * 返回 设备验收表
+	 * @return
+	 */
+	public String getSheBeiYanShou() 
+	{
+		return this.sheBeiYanShou;
+	}
+	public void setZongJiHuaWaiJ(String zongJiHuaWaiJ) 
+	{
+		this.zongJiHuaWaiJ = zongJiHuaWaiJ;
+	}
+	/**
+	 * 返回 总计划外键
+	 * @return
+	 */
+	public String getZongJiHuaWaiJ() 
+	{
+		return this.zongJiHuaWaiJ;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setSheBeiLeiXing(String sheBeiLeiXing) 
+	{
+		this.sheBeiLeiXing = sheBeiLeiXing;
+	}
+	/**
+	 * 返回 设备类型
+	 * @return
+	 */
+	public String getSheBeiLeiXing() 
+	{
+		return this.sheBeiLeiXing;
+	}
+	public void setSheBeiZhuangTa(String sheBeiZhuangTa) 
+	{
+		this.sheBeiZhuangTa = sheBeiZhuangTa;
+	}
+	/**
+	 * 返回 设备状态
+	 * @return
+	 */
+	public String getSheBeiZhuangTa() 
+	{
+		return this.sheBeiZhuangTa;
+	}
+	public void setSheBeiShiBieH(String sheBeiShiBieH) 
+	{
+		this.sheBeiShiBieH = sheBeiShiBieH;
+	}
+	/**
+	 * 返回 设备识别号
+	 * @return
+	 */
+	public String getSheBeiShiBieH() 
+	{
+		return this.sheBeiShiBieH;
+	}
+	public void setXuanZeSheBei(String xuanZeSheBei) 
+	{
+		this.xuanZeSheBei = xuanZeSheBei;
+	}
+	/**
+	 * 返回 选择设备
+	 * @return
+	 */
+	public String getXuanZeSheBei() 
+	{
+		return this.xuanZeSheBei;
+	}
+	public void setSheBeiBianHao(String sheBeiBianHao) 
+	{
+		this.sheBeiBianHao = sheBeiBianHao;
+	}
+	/**
+	 * 返回 分析结果
+	 * @return
+	 */
+	public String getSheBeiBianHao() 
+	{
+		return this.sheBeiBianHao;
+	}
+	public void setGouJinRiQi(String gouJinRiQi) 
+	{
+		this.gouJinRiQi = gouJinRiQi;
+	}
+	/**
+	 * 返回 购进日期
+	 * @return
+	 */
+	public String getGouJinRiQi() 
+	{
+		return this.gouJinRiQi;
+	}
+	public void setShiFouXiaoZhun(String shiFouXiaoZhun) 
+	{
+		this.shiFouXiaoZhun = shiFouXiaoZhun;
+	}
+	/**
+	 * 返回 是否校准
+	 * @return
+	 */
+	public String getShiFouXiaoZhun() 
+	{
+		return this.shiFouXiaoZhun;
+	}
+	public void setGongYingShang(String gongYingShang) 
+	{
+		this.gongYingShang = gongYingShang;
+	}
+	/**
+	 * 返回 供应商
+	 * @return
+	 */
+	public String getGongYingShang() 
+	{
+		return this.gongYingShang;
+	}
+	public void setLianXiFangShi(String lianXiFangShi) 
+	{
+		this.lianXiFangShi = lianXiFangShi;
+	}
+	/**
+	 * 返回 联系方式
+	 * @return
+	 */
+	public String getLianXiFangShi() 
+	{
+		return this.lianXiFangShi;
+	}
+	public void setBeiZhu(String beiZhu) 
+	{
+		this.beiZhu = beiZhu;
+	}
+	/**
+	 * 返回 备注
+	 * @return
+	 */
+	public String getBeiZhu() 
+	{
+		return this.beiZhu;
+	}
+	public void setXiaoZhunYouXia(String xiaoZhunYouXia) 
+	{
+		this.xiaoZhunYouXia = xiaoZhunYouXia;
+	}
+	/**
+	 * 返回 校准有效期至
+	 * @return
+	 */
+	public String getXiaoZhunYouXia() 
+	{
+		return this.xiaoZhunYouXia;
+	}
+	public void setChuChangRiQi(String chuChangRiQi) 
+	{
+		this.chuChangRiQi = chuChangRiQi;
+	}
+	/**
+	 * 返回 出厂日期
+	 * @return
+	 */
+	public String getChuChangRiQi() 
+	{
+		return this.chuChangRiQi;
+	}
+	public void setSheBeiMingChen(String sheBeiMingChen) 
+	{
+		this.sheBeiMingChen = sheBeiMingChen;
+	}
+	/**
+	 * 返回 设备名称转换
+	 * @return
+	 */
+	public String getSheBeiMingChen() 
+	{
+		return this.sheBeiMingChen;
+	}
+	public void setShiFouQiJianH(String shiFouQiJianH) 
+	{
+		this.shiFouQiJianH = shiFouQiJianH;
+	}
+	/**
+	 * 返回 是否期间核查
+	 * @return
+	 */
+	public String getShiFouQiJianH() 
+	{
+		return this.shiFouQiJianH;
+	}
+	public void setYiXiaoRiQi(String yiXiaoRiQi) 
+	{
+		this.yiXiaoRiQi = yiXiaoRiQi;
+	}
+	/**
+	 * 返回 已校日期
+	 * @return
+	 */
+	public String getYiXiaoRiQi() 
+	{
+		return this.yiXiaoRiQi;
+	}
+	public void setHeChaXiaoZhun(String heChaXiaoZhun) 
+	{
+		this.heChaXiaoZhun = heChaXiaoZhun;
+	}
+	/**
+	 * 返回 使用年限
+	 * @return
+	 */
+	public String getHeChaXiaoZhun() 
+	{
+		return this.heChaXiaoZhun;
+	}
+	public void setCeLiangGongZuo(String ceLiangGongZuo) 
+	{
+		this.ceLiangGongZuo = ceLiangGongZuo;
+	}
+	/**
+	 * 返回 测量/工作范围
+	 * @return
+	 */
+	public String getCeLiangGongZuo() 
+	{
+		return this.ceLiangGongZuo;
+	}
+	public void setShiJiShiYongF(String shiJiShiYongF) 
+	{
+		this.shiJiShiYongF = shiJiShiYongF;
+	}
+	/**
+	 * 返回 关机时间
+	 * @return
+	 */
+	public String getShiJiShiYongF() 
+	{
+		return this.shiJiShiYongF;
+	}
+	public void setJianDingXiaoZh(String jianDingXiaoZh) 
+	{
+		this.jianDingXiaoZh = jianDingXiaoZh;
+	}
+	/**
+	 * 返回 检定/校准项目
+	 * @return
+	 */
+	public String getJianDingXiaoZh() 
+	{
+		return this.jianDingXiaoZh;
+	}
+	public void setJianDingXiao(String jianDingXiao) 
+	{
+		this.jianDingXiao = jianDingXiao;
+	}
+	/**
+	 * 返回 检定/校准参数
+	 * @return
+	 */
+	public String getJianDingXiao() 
+	{
+		return this.jianDingXiao;
+	}
+	public void setKaiShiShiYong(String kaiShiShiYong) 
+	{
+		this.kaiShiShiYong = kaiShiShiYong;
+	}
+	/**
+	 * 返回 开机时间
+	 * @return
+	 */
+	public String getKaiShiShiYong() 
+	{
+		return this.kaiShiShiYong;
+	}
+	public void setZhengShuBianHa(String zhengShuBianHa) 
+	{
+		this.zhengShuBianHa = zhengShuBianHa;
+	}
+	/**
+	 * 返回 证书编号
+	 * @return
+	 */
+	public String getZhengShuBianHa() 
+	{
+		return this.zhengShuBianHa;
+	}
+	public void setXiaoZhunWuCha(String xiaoZhunWuCha) 
+	{
+		this.xiaoZhunWuCha = xiaoZhunWuCha;
+	}
+	/**
+	 * 返回 是否限用
+	 * @return
+	 */
+	public String getXiaoZhunWuCha() 
+	{
+		return this.xiaoZhunWuCha;
+	}
+	public void setXiuZhengZhiXiu(String xiuZhengZhiXiu) 
+	{
+		this.xiuZhengZhiXiu = xiuZhengZhiXiu;
+	}
+	/**
+	 * 返回 修正值/修正因子
+	 * @return
+	 */
+	public String getXiuZhengZhiXiu() 
+	{
+		return this.xiuZhengZhiXiu;
+	}
+	public void setXiaoZhunZQ(String xiaoZhunZQ) 
+	{
+		this.xiaoZhunZQ = xiaoZhunZQ;
+	}
+	/**
+	 * 返回 检定/校准周期
+	 * @return
+	 */
+	public String getXiaoZhunZQ() 
+	{
+		return this.xiaoZhunZQ;
+	}
+	public void setZuiDaYunCha(String zuiDaYunCha) 
+	{
+		this.zuiDaYunCha = zuiDaYunCha;
+	}
+	/**
+	 * 返回 U/精确度/最大允差
+	 * @return
+	 */
+	public String getZuiDaYunCha() 
+	{
+		return this.zuiDaYunCha;
+	}
+	public void setCaiGouHeTong(String caiGouHeTong) 
+	{
+		this.caiGouHeTong = caiGouHeTong;
+	}
+	/**
+	 * 返回 采购合同
+	 * @return
+	 */
+	public String getCaiGouHeTong() 
+	{
+		return this.caiGouHeTong;
+	}
+	public void setFaPiao(String faPiao) 
+	{
+		this.faPiao = faPiao;
+	}
+	/**
+	 * 返回 资质证书
+	 * @return
+	 */
+	public String getFaPiao() 
+	{
+		return this.faPiao;
+	}
+	public void setYuanSheBeiBian(String yuanSheBeiBian) 
+	{
+		this.yuanSheBeiBian = yuanSheBeiBian;
+	}
+	/**
+	 * 返回 原设备编号
+	 * @return
+	 */
+	public String getYuanSheBeiBian() 
+	{
+		return this.yuanSheBeiBian;
+	}
+	public void setBuMen(String buMen) 
+	{
+		this.buMen = buMen;
+	}
+	/**
+	 * 返回 部门
+	 * @return
+	 */
+	public String getBuMen() 
+	{
+		return this.buMen;
+	}
+	public void setJianKongYiJu(String jianKongYiJu) 
+	{
+		this.jianKongYiJu = jianKongYiJu;
+	}
+	/**
+	 * 返回 是否24H开机
+	 * @return
+	 */
+	public String getJianKongYiJu() 
+	{
+		return this.jianKongYiJu;
+	}
+	public void setBiXuDeHuanJin(String biXuDeHuanJin) 
+	{
+		this.biXuDeHuanJin = biXuDeHuanJin;
+	}
+	/**
+	 * 返回 必须的环境条件
+	 * @return
+	 */
+	public String getBiXuDeHuanJin() 
+	{
+		return this.biXuDeHuanJin;
+	}
+	public void setBiXuSheShi(String biXuSheShi) 
+	{
+		this.biXuSheShi = biXuSheShi;
+	}
+	/**
+	 * 返回 核查日期
+	 * @return
+	 */
+	public String getBiXuSheShi() 
+	{
+		return this.biXuSheShi;
+	}
+	public void setZiChanYuanZhi(String ziChanYuanZhi) 
+	{
+		this.ziChanYuanZhi = ziChanYuanZhi;
+	}
+	/**
+	 * 返回 资产原值
+	 * @return
+	 */
+	public String getZiChanYuanZhi() 
+	{
+		return this.ziChanYuanZhi;
+	}
+	public void setZiChanBianHao(String ziChanBianHao) 
+	{
+		this.ziChanBianHao = ziChanBianHao;
+	}
+	/**
+	 * 返回 资产编号
+	 * @return
+	 */
+	public String getZiChanBianHao() 
+	{
+		return this.ziChanBianHao;
+	}
+	public void setShiYongKeShi(String shiYongKeShi) 
+	{
+		this.shiYongKeShi = shiYongKeShi;
+	}
+	/**
+	 * 返回 使用科室
+	 * @return
+	 */
+	public String getShiYongKeShi() 
+	{
+		return this.shiYongKeShi;
+	}
+	public void setZhuangTaiFenXi(String zhuangTaiFenXi) 
+	{
+		this.zhuangTaiFenXi = zhuangTaiFenXi;
+	}
+	/**
+	 * 返回 备用字段
+	 * @return
+	 */
+	public String getZhuangTaiFenXi() 
+	{
+		return this.zhuangTaiFenXi;
+	}
+	public void setShiFouWeiHu(String shiFouWeiHu) 
+	{
+		this.shiFouWeiHu = shiFouWeiHu;
+	}
+	/**
+	 * 返回 是否维护
+	 * @return
+	 */
+	public String getShiFouWeiHu() 
+	{
+		return this.shiFouWeiHu;
+	}
+	public void setWeiHuZhouQi(String weiHuZhouQi) 
+	{
+		this.weiHuZhouQi = weiHuZhouQi;
+	}
+	/**
+	 * 返回 维护周期
+	 * @return
+	 */
+	public String getWeiHuZhouQi() 
+	{
+		return this.weiHuZhouQi;
+	}
+	public void setShiWuShuoMing(String shiWuShuoMing) 
+	{
+		this.shiWuShuoMing = shiWuShuoMing;
+	}
+	/**
+	 * 返回 事务说明
+	 * @return
+	 */
+	public String getShiWuShuoMing() 
+	{
+		return this.shiWuShuoMing;
+	}
+	public void setCunFangWeiZhi(String cunFangWeiZhi) 
+	{
+		this.cunFangWeiZhi = cunFangWeiZhi;
+	}
+	/**
+	 * 返回 存放位置ID
+	 * @return
+	 */
+	public String getCunFangWeiZhi() 
+	{
+		return this.cunFangWeiZhi;
+	}
+	public void setWenDuYingYong(String wenDuYingYong) 
+	{
+		this.wenDuYingYong = wenDuYingYong;
+	}
+	/**
+	 * 返回 温度应用修正值
+	 * @return
+	 */
+	public String getWenDuYingYong() 
+	{
+		return this.wenDuYingYong;
+	}
+	public void setShiDuYingYong(String shiDuYingYong) 
+	{
+		this.shiDuYingYong = shiDuYingYong;
+	}
+	/**
+	 * 返回 湿度应用修正值
+	 * @return
+	 */
+	public String getShiDuYingYong() 
+	{
+		return this.shiDuYingYong;
+	}
+	public void setJiShenXuHao(String jiShenXuHao) 
+	{
+		this.jiShenXuHao = jiShenXuHao;
+	}
+	/**
+	 * 返回 机身序号
+	 * @return
+	 */
+	public String getJiShenXuHao() 
+	{
+		return this.jiShenXuHao;
+	}
+	public void setYanShouRiQi(String yanShouRiQi) 
+	{
+		this.yanShouRiQi = yanShouRiQi;
+	}
+	/**
+	 * 返回 验收日期
+	 * @return
+	 */
+	public String getYanShouRiQi() 
+	{
+		return this.yanShouRiQi;
+	}
+	public void setHuanJingYaoQiu(String huanJingYaoQiu) 
+	{
+		this.huanJingYaoQiu = huanJingYaoQiu;
+	}
+	/**
+	 * 返回 环境要求
+	 * @return
+	 */
+	public String getHuanJingYaoQiu() 
+	{
+		return this.huanJingYaoQiu;
+	}
+	public void setDianYuanYaoQiu(String dianYuanYaoQiu) 
+	{
+		this.dianYuanYaoQiu = dianYuanYaoQiu;
+	}
+	/**
+	 * 返回 电源要求
+	 * @return
+	 */
+	public String getDianYuanYaoQiu() 
+	{
+		return this.dianYuanYaoQiu;
+	}
+	public void setFuJianShang(String fuJianShang) 
+	{
+		this.fuJianShang = fuJianShang;
+	}
+	/**
+	 * 返回 附件上传
+	 * @return
+	 */
+	public String getFuJianShang() 
+	{
+		return this.fuJianShang;
+	}
+	public void setZhuCeZhengHao(String zhuCeZhengHao) 
+	{
+		this.zhuCeZhengHao = zhuCeZhengHao;
+	}
+	/**
+	 * 返回 注册证号
+	 * @return
+	 */
+	public String getZhuCeZhengHao() 
+	{
+		return this.zhuCeZhengHao;
+	}
+	public void setKuaiZhao(String kuaiZhao) 
+	{
+		this.kuaiZhao = kuaiZhao;
+	}
+	/**
+	 * 返回 快照
+	 * @return
+	 */
+	public String getKuaiZhao() 
+	{
+		return this.kuaiZhao;
+	}
+	public void setDiDian(String diDian) 
+	{
+		this.diDian = diDian;
+	}
+	/**
+	 * 返回 地点
+	 * @return
+	 */
+	public String getDiDian() 
+	{
+		return this.diDian;
+	}
+	public void setWenJianXiLei(String wenJianXiLei) 
+	{
+		this.wenJianXiLei = wenJianXiLei;
+	}
+	/**
+	 * 返回 附件细类
+	 * @return
+	 */
+	public String getWenJianXiLei() 
+	{
+		return this.wenJianXiLei;
+	}
+	public void setXiLeiId(String xiLeiId) 
+	{
+		this.xiLeiId = xiLeiId;
+	}
+	/**
+	 * 返回 细类id
+	 * @return
+	 */
+	public String getXiLeiId() 
+	{
+		return this.xiLeiId;
+	}
+	public void setQuanXianLeiXin(String quanXianLeiXin) 
+	{
+		this.quanXianLeiXin = quanXianLeiXin;
+	}
+	/**
+	 * 返回 权限类型
+	 * @return
+	 */
+	public String getQuanXianLeiXin() 
+	{
+		return this.quanXianLeiXin;
+	}
+	
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceItemPo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 维护周期及项目 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:05
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "维护周期及项目对象")
+public class MaintenanceItemPo extends MaintenanceItemTbl{
+
+	public static MaintenanceItemPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, MaintenanceItemPo.class);
+	}
+	
+	public static List<MaintenanceItemPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, MaintenanceItemPo.class);
+	}
+}

+ 219 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceItemTbl.java

@@ -0,0 +1,219 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 维护周期及项目 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:05
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "维护周期及项目对象")
+public class MaintenanceItemTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "外键")
+	protected String  parentId; 		/*外键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "快照")
+	protected String  kuaiZhao; 		/*快照*/
+	@ApiModelProperty(value = "维护周期")
+	protected String  weiHuZhouQiC; 		/*维护周期*/
+	@ApiModelProperty(value = "维护项目")
+	protected String  weiHuXiangMuC; 		/*维护项目*/
+	@ApiModelProperty(value = "维护日期")
+	protected String  weiHuRiQi; 		/*维护日期*/
+	@ApiModelProperty(value = "维护类型")
+	protected String  weiHuLeiXing; 		/*维护类型*/
+	@ApiModelProperty(value = "日期数字")
+	protected String  riQiShuZi; 		/*日期数字*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setParentId(String parentId) 
+	{
+		this.parentId = parentId;
+	}
+	/**
+	 * 返回 外键
+	 * @return
+	 */
+	public String getParentId() 
+	{
+		return this.parentId;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setKuaiZhao(String kuaiZhao) 
+	{
+		this.kuaiZhao = kuaiZhao;
+	}
+	/**
+	 * 返回 快照
+	 * @return
+	 */
+	public String getKuaiZhao() 
+	{
+		return this.kuaiZhao;
+	}
+	public void setWeiHuZhouQiC(String weiHuZhouQiC) 
+	{
+		this.weiHuZhouQiC = weiHuZhouQiC;
+	}
+	/**
+	 * 返回 维护周期
+	 * @return
+	 */
+	public String getWeiHuZhouQiC() 
+	{
+		return this.weiHuZhouQiC;
+	}
+	public void setWeiHuXiangMuC(String weiHuXiangMuC) 
+	{
+		this.weiHuXiangMuC = weiHuXiangMuC;
+	}
+	/**
+	 * 返回 维护项目
+	 * @return
+	 */
+	public String getWeiHuXiangMuC() 
+	{
+		return this.weiHuXiangMuC;
+	}
+	public void setWeiHuRiQi(String weiHuRiQi) 
+	{
+		this.weiHuRiQi = weiHuRiQi;
+	}
+	/**
+	 * 返回 维护日期
+	 * @return
+	 */
+	public String getWeiHuRiQi() 
+	{
+		return this.weiHuRiQi;
+	}
+	public void setWeiHuLeiXing(String weiHuLeiXing) 
+	{
+		this.weiHuLeiXing = weiHuLeiXing;
+	}
+	/**
+	 * 返回 维护类型
+	 * @return
+	 */
+	public String getWeiHuLeiXing() 
+	{
+		return this.weiHuLeiXing;
+	}
+	public void setRiQiShuZi(String riQiShuZi) 
+	{
+		this.riQiShuZi = riQiShuZi;
+	}
+	/**
+	 * 返回 日期数字
+	 * @return
+	 */
+	public String getRiQiShuZi() 
+	{
+		return this.riQiShuZi;
+	}
+	
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceRecordPo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 设备维护记录表 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:01
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备维护记录表对象")
+public class MaintenanceRecordPo extends MaintenanceRecordTbl{
+
+	public static MaintenanceRecordPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, MaintenanceRecordPo.class);
+	}
+	
+	public static List<MaintenanceRecordPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, MaintenanceRecordPo.class);
+	}
+}

+ 303 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/MaintenanceRecordTbl.java

@@ -0,0 +1,303 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 设备维护记录表 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:01
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备维护记录表对象")
+public class MaintenanceRecordTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "外键")
+	protected String  parentId; 		/*外键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "故障处理")
+	protected String  qingXiHuoHuaT; 		/*故障处理*/
+	@ApiModelProperty(value = "维护周期")
+	protected String  yiQiQingLi; 		/*维护周期*/
+	@ApiModelProperty(value = "故障描述")
+	protected String  biaoZhunHua; 		/*故障描述*/
+	@ApiModelProperty(value = "维护人")
+	protected String  qianMing; 		/*维护人*/
+	@ApiModelProperty(value = "日期")
+	protected String  riQi; 		/*日期*/
+	@ApiModelProperty(value = "备注")
+	protected String  beiZhu; 		/*备注*/
+	@ApiModelProperty(value = "操作内容")
+	protected String  weiHuXiangMu; 		/*操作内容*/
+	@ApiModelProperty(value = "工作状况")
+	protected String  weiHuZhuangTai; 		/*工作状况*/
+	@ApiModelProperty(value = "开机时间")
+	protected String  kaiJiShiJian; 		/*开机时间*/
+	@ApiModelProperty(value = "关机时间")
+	protected String  guanJiShiJian; 		/*关机时间*/
+	@ApiModelProperty(value = "日期")
+	protected String  weiHuRiQi; 		/*日期*/
+	@ApiModelProperty(value = "24h开机")
+	protected String  shiFouKaiJi; 		/*24h开机*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setParentId(String parentId) 
+	{
+		this.parentId = parentId;
+	}
+	/**
+	 * 返回 外键
+	 * @return
+	 */
+	public String getParentId() 
+	{
+		return this.parentId;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setQingXiHuoHuaT(String qingXiHuoHuaT) 
+	{
+		this.qingXiHuoHuaT = qingXiHuoHuaT;
+	}
+	/**
+	 * 返回 故障处理
+	 * @return
+	 */
+	public String getQingXiHuoHuaT() 
+	{
+		return this.qingXiHuoHuaT;
+	}
+	public void setYiQiQingLi(String yiQiQingLi) 
+	{
+		this.yiQiQingLi = yiQiQingLi;
+	}
+	/**
+	 * 返回 维护周期
+	 * @return
+	 */
+	public String getYiQiQingLi() 
+	{
+		return this.yiQiQingLi;
+	}
+	public void setBiaoZhunHua(String biaoZhunHua) 
+	{
+		this.biaoZhunHua = biaoZhunHua;
+	}
+	/**
+	 * 返回 故障描述
+	 * @return
+	 */
+	public String getBiaoZhunHua() 
+	{
+		return this.biaoZhunHua;
+	}
+	public void setQianMing(String qianMing) 
+	{
+		this.qianMing = qianMing;
+	}
+	/**
+	 * 返回 维护人
+	 * @return
+	 */
+	public String getQianMing() 
+	{
+		return this.qianMing;
+	}
+	public void setRiQi(String riQi) 
+	{
+		this.riQi = riQi;
+	}
+	/**
+	 * 返回 日期
+	 * @return
+	 */
+	public String getRiQi() 
+	{
+		return this.riQi;
+	}
+	public void setBeiZhu(String beiZhu) 
+	{
+		this.beiZhu = beiZhu;
+	}
+	/**
+	 * 返回 备注
+	 * @return
+	 */
+	public String getBeiZhu() 
+	{
+		return this.beiZhu;
+	}
+	public void setWeiHuXiangMu(String weiHuXiangMu) 
+	{
+		this.weiHuXiangMu = weiHuXiangMu;
+	}
+	/**
+	 * 返回 操作内容
+	 * @return
+	 */
+	public String getWeiHuXiangMu() 
+	{
+		return this.weiHuXiangMu;
+	}
+	public void setWeiHuZhuangTai(String weiHuZhuangTai) 
+	{
+		this.weiHuZhuangTai = weiHuZhuangTai;
+	}
+	/**
+	 * 返回 工作状况
+	 * @return
+	 */
+	public String getWeiHuZhuangTai() 
+	{
+		return this.weiHuZhuangTai;
+	}
+	public void setKaiJiShiJian(String kaiJiShiJian) 
+	{
+		this.kaiJiShiJian = kaiJiShiJian;
+	}
+	/**
+	 * 返回 开机时间
+	 * @return
+	 */
+	public String getKaiJiShiJian() 
+	{
+		return this.kaiJiShiJian;
+	}
+	public void setGuanJiShiJian(String guanJiShiJian) 
+	{
+		this.guanJiShiJian = guanJiShiJian;
+	}
+	/**
+	 * 返回 关机时间
+	 * @return
+	 */
+	public String getGuanJiShiJian() 
+	{
+		return this.guanJiShiJian;
+	}
+	public void setWeiHuRiQi(String weiHuRiQi) 
+	{
+		this.weiHuRiQi = weiHuRiQi;
+	}
+	/**
+	 * 返回 日期
+	 * @return
+	 */
+	public String getWeiHuRiQi() 
+	{
+		return this.weiHuRiQi;
+	}
+	public void setShiFouKaiJi(String shiFouKaiJi) 
+	{
+		this.shiFouKaiJi = shiFouKaiJi;
+	}
+	/**
+	 * 返回 24h开机
+	 * @return
+	 */
+	public String getShiFouKaiJi() 
+	{
+		return this.shiFouKaiJi;
+	}
+	
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/RepairRecordPo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 设备维修记录表 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:58
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备维修记录表对象")
+public class RepairRecordPo extends RepairRecordTbl{
+
+	public static RepairRecordPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, RepairRecordPo.class);
+	}
+	
+	public static List<RepairRecordPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, RepairRecordPo.class);
+	}
+}

+ 457 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/RepairRecordTbl.java

@@ -0,0 +1,457 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 设备维修记录表 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:58
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备维修记录表对象")
+public class RepairRecordTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "设备id")
+	protected String  sheBeiId; 		/*设备id*/
+	@ApiModelProperty(value = "设备名称")
+	protected String  sheBeiMingChen; 		/*设备名称*/
+	@ApiModelProperty(value = "设备编号")
+	protected String  sheBeiBianHao; 		/*设备编号*/
+	@ApiModelProperty(value = "故障发生时间")
+	protected String  guZhangShiJian; 		/*故障发生时间*/
+	@ApiModelProperty(value = "维修日期")
+	protected String  weiXiuRiQi; 		/*维修日期*/
+	@ApiModelProperty(value = "维修单位")
+	protected String  weiXiuDanWei; 		/*维修单位*/
+	@ApiModelProperty(value = "维修费用")
+	protected String  weiXiuFeiYong; 		/*维修费用*/
+	@ApiModelProperty(value = "故障现象")
+	protected String  guZhangXianXia; 		/*故障现象*/
+	@ApiModelProperty(value = "故障原因")
+	protected String  guZhangYuanYin; 		/*故障原因*/
+	@ApiModelProperty(value = "故障修复说明")
+	protected String  xiuFuShuoMing; 		/*故障修复说明*/
+	@ApiModelProperty(value = "更换备件登记")
+	protected String  gengHuanBeiJia; 		/*更换备件登记*/
+	@ApiModelProperty(value = "维修验证")
+	protected String  weiXiuYanZheng; 		/*维修验证*/
+	@ApiModelProperty(value = "验证结果")
+	protected String  yanZhengJieGuo; 		/*验证结果*/
+	@ApiModelProperty(value = "验收人员")
+	protected String  yanShouRenYuan; 		/*验收人员*/
+	@ApiModelProperty(value = "附件")
+	protected String  fuJian; 		/*附件*/
+	@ApiModelProperty(value = "地点")
+	protected String  diDian; 		/*地点*/
+	@ApiModelProperty(value = "快照")
+	protected String  kuaiZhao; 		/*快照*/
+	@ApiModelProperty(value = "设备")
+	protected String  sheBei; 		/*设备*/
+	@ApiModelProperty(value = "查询往期")
+	protected String  chaXunWangQi; 		/*查询往期*/
+	@ApiModelProperty(value = "网关")
+	protected String  wangGuan; 		/*网关*/
+	@ApiModelProperty(value = "验证附件")
+	protected String  yanZhengFuJian; 		/*验证附件*/
+	@ApiModelProperty(value = "比对实验记录")
+	protected String  xiuFuShiJian; 		/*比对实验记录*/
+	@ApiModelProperty(value = "维修人员姓名")
+	protected String  weiXiuRenYuan; 		/*维修人员姓名*/
+	@ApiModelProperty(value = "原设备编号")
+	protected String  yuanSheBeiBian; 		/*原设备编号*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setSheBeiId(String sheBeiId) 
+	{
+		this.sheBeiId = sheBeiId;
+	}
+	/**
+	 * 返回 设备id
+	 * @return
+	 */
+	public String getSheBeiId() 
+	{
+		return this.sheBeiId;
+	}
+	public void setSheBeiMingChen(String sheBeiMingChen) 
+	{
+		this.sheBeiMingChen = sheBeiMingChen;
+	}
+	/**
+	 * 返回 设备名称
+	 * @return
+	 */
+	public String getSheBeiMingChen() 
+	{
+		return this.sheBeiMingChen;
+	}
+	public void setSheBeiBianHao(String sheBeiBianHao) 
+	{
+		this.sheBeiBianHao = sheBeiBianHao;
+	}
+	/**
+	 * 返回 设备编号
+	 * @return
+	 */
+	public String getSheBeiBianHao() 
+	{
+		return this.sheBeiBianHao;
+	}
+	public void setGuZhangShiJian(String guZhangShiJian) 
+	{
+		this.guZhangShiJian = guZhangShiJian;
+	}
+	/**
+	 * 返回 故障发生时间
+	 * @return
+	 */
+	public String getGuZhangShiJian() 
+	{
+		return this.guZhangShiJian;
+	}
+	public void setWeiXiuRiQi(String weiXiuRiQi) 
+	{
+		this.weiXiuRiQi = weiXiuRiQi;
+	}
+	/**
+	 * 返回 维修日期
+	 * @return
+	 */
+	public String getWeiXiuRiQi() 
+	{
+		return this.weiXiuRiQi;
+	}
+	public void setWeiXiuDanWei(String weiXiuDanWei) 
+	{
+		this.weiXiuDanWei = weiXiuDanWei;
+	}
+	/**
+	 * 返回 维修单位
+	 * @return
+	 */
+	public String getWeiXiuDanWei() 
+	{
+		return this.weiXiuDanWei;
+	}
+	public void setWeiXiuFeiYong(String weiXiuFeiYong) 
+	{
+		this.weiXiuFeiYong = weiXiuFeiYong;
+	}
+	/**
+	 * 返回 维修费用
+	 * @return
+	 */
+	public String getWeiXiuFeiYong() 
+	{
+		return this.weiXiuFeiYong;
+	}
+	public void setGuZhangXianXia(String guZhangXianXia) 
+	{
+		this.guZhangXianXia = guZhangXianXia;
+	}
+	/**
+	 * 返回 故障现象
+	 * @return
+	 */
+	public String getGuZhangXianXia() 
+	{
+		return this.guZhangXianXia;
+	}
+	public void setGuZhangYuanYin(String guZhangYuanYin) 
+	{
+		this.guZhangYuanYin = guZhangYuanYin;
+	}
+	/**
+	 * 返回 故障原因
+	 * @return
+	 */
+	public String getGuZhangYuanYin() 
+	{
+		return this.guZhangYuanYin;
+	}
+	public void setXiuFuShuoMing(String xiuFuShuoMing) 
+	{
+		this.xiuFuShuoMing = xiuFuShuoMing;
+	}
+	/**
+	 * 返回 故障修复说明
+	 * @return
+	 */
+	public String getXiuFuShuoMing() 
+	{
+		return this.xiuFuShuoMing;
+	}
+	public void setGengHuanBeiJia(String gengHuanBeiJia) 
+	{
+		this.gengHuanBeiJia = gengHuanBeiJia;
+	}
+	/**
+	 * 返回 更换备件登记
+	 * @return
+	 */
+	public String getGengHuanBeiJia() 
+	{
+		return this.gengHuanBeiJia;
+	}
+	public void setWeiXiuYanZheng(String weiXiuYanZheng) 
+	{
+		this.weiXiuYanZheng = weiXiuYanZheng;
+	}
+	/**
+	 * 返回 维修验证
+	 * @return
+	 */
+	public String getWeiXiuYanZheng() 
+	{
+		return this.weiXiuYanZheng;
+	}
+	public void setYanZhengJieGuo(String yanZhengJieGuo) 
+	{
+		this.yanZhengJieGuo = yanZhengJieGuo;
+	}
+	/**
+	 * 返回 验证结果
+	 * @return
+	 */
+	public String getYanZhengJieGuo() 
+	{
+		return this.yanZhengJieGuo;
+	}
+	public void setYanShouRenYuan(String yanShouRenYuan) 
+	{
+		this.yanShouRenYuan = yanShouRenYuan;
+	}
+	/**
+	 * 返回 验收人员
+	 * @return
+	 */
+	public String getYanShouRenYuan() 
+	{
+		return this.yanShouRenYuan;
+	}
+	public void setFuJian(String fuJian) 
+	{
+		this.fuJian = fuJian;
+	}
+	/**
+	 * 返回 附件
+	 * @return
+	 */
+	public String getFuJian() 
+	{
+		return this.fuJian;
+	}
+	public void setDiDian(String diDian) 
+	{
+		this.diDian = diDian;
+	}
+	/**
+	 * 返回 地点
+	 * @return
+	 */
+	public String getDiDian() 
+	{
+		return this.diDian;
+	}
+	public void setKuaiZhao(String kuaiZhao) 
+	{
+		this.kuaiZhao = kuaiZhao;
+	}
+	/**
+	 * 返回 快照
+	 * @return
+	 */
+	public String getKuaiZhao() 
+	{
+		return this.kuaiZhao;
+	}
+	public void setSheBei(String sheBei) 
+	{
+		this.sheBei = sheBei;
+	}
+	/**
+	 * 返回 设备
+	 * @return
+	 */
+	public String getSheBei() 
+	{
+		return this.sheBei;
+	}
+	public void setChaXunWangQi(String chaXunWangQi) 
+	{
+		this.chaXunWangQi = chaXunWangQi;
+	}
+	/**
+	 * 返回 查询往期
+	 * @return
+	 */
+	public String getChaXunWangQi() 
+	{
+		return this.chaXunWangQi;
+	}
+	public void setWangGuan(String wangGuan) 
+	{
+		this.wangGuan = wangGuan;
+	}
+	/**
+	 * 返回 网关
+	 * @return
+	 */
+	public String getWangGuan() 
+	{
+		return this.wangGuan;
+	}
+	public void setYanZhengFuJian(String yanZhengFuJian) 
+	{
+		this.yanZhengFuJian = yanZhengFuJian;
+	}
+	/**
+	 * 返回 验证附件
+	 * @return
+	 */
+	public String getYanZhengFuJian() 
+	{
+		return this.yanZhengFuJian;
+	}
+	public void setXiuFuShiJian(String xiuFuShiJian) 
+	{
+		this.xiuFuShiJian = xiuFuShiJian;
+	}
+	/**
+	 * 返回 比对实验记录
+	 * @return
+	 */
+	public String getXiuFuShiJian() 
+	{
+		return this.xiuFuShiJian;
+	}
+	public void setWeiXiuRenYuan(String weiXiuRenYuan) 
+	{
+		this.weiXiuRenYuan = weiXiuRenYuan;
+	}
+	/**
+	 * 返回 维修人员姓名
+	 * @return
+	 */
+	public String getWeiXiuRenYuan() 
+	{
+		return this.weiXiuRenYuan;
+	}
+	public void setYuanSheBeiBian(String yuanSheBeiBian) 
+	{
+		this.yuanSheBeiBian = yuanSheBeiBian;
+	}
+	/**
+	 * 返回 原设备编号
+	 * @return
+	 */
+	public String getYuanSheBeiBian() 
+	{
+		return this.yuanSheBeiBian;
+	}
+	
+}

+ 35 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/ScrappedRecordPo.java

@@ -0,0 +1,35 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import com.lc.ibps.base.core.util.JacksonUtil;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 设备停用报废记录表 实体对象
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:09
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备停用报废记录表对象")
+public class ScrappedRecordPo extends ScrappedRecordTbl{
+
+	public static ScrappedRecordPo fromJsonString(String data){
+		if(JacksonUtil.isNotJsonObject(data)){
+			return null;
+		}
+		return JacksonUtil.getDTO(data, ScrappedRecordPo.class);
+	}
+	
+	public static List<ScrappedRecordPo> fromJsonArrayString(String listData){
+		if(JacksonUtil.isNotJsonArray(listData)){
+			return Collections.emptyList();
+		}
+		return JacksonUtil.getDTOList(listData, ScrappedRecordPo.class);
+	}
+}

+ 429 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/persistence/entity/ScrappedRecordTbl.java

@@ -0,0 +1,429 @@
+package com.lc.ibps.components.equipment.persistence.entity;
+
+import java.util.Date;
+
+import com.lc.ibps.base.framework.persistence.entity.AbstractPo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 设备停用报废记录表 表对象
+ * 
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:09
+ *</pre>
+ */
+@SuppressWarnings("serial")
+@ApiModel(value = "设备停用报废记录表对象")
+public class ScrappedRecordTbl extends AbstractPo<String>{
+	@ApiModelProperty(value = "主键")
+	protected String  id; 		/*主键*/
+	@ApiModelProperty(value = "租户ID")
+	protected String  tenantId; 		/*租户ID*/
+	@ApiModelProperty(value = "IP地址")
+	protected String  ip; 		/*IP地址*/
+	@ApiModelProperty(value = "是否过审")
+	protected String  shiFouGuoShen; 		/*是否过审*/
+	@ApiModelProperty(value = "编制人")
+	protected String  bianZhiRen; 		/*编制人*/
+	@ApiModelProperty(value = "编制部门")
+	protected String  bianZhiBuMen; 		/*编制部门*/
+	@ApiModelProperty(value = "编制时间")
+	protected String  bianZhiShiJian; 		/*编制时间*/
+	@ApiModelProperty(value = "设备名称")
+	protected String  sheBeiMingChen; 		/*设备名称*/
+	@ApiModelProperty(value = "设备编号")
+	protected String  sheBeiBianHao; 		/*设备编号*/
+	@ApiModelProperty(value = "处理类型")
+	protected String  chuLiLeiXing; 		/*处理类型*/
+	@ApiModelProperty(value = "固定资产编号")
+	protected String  ziChanBianHao; 		/*固定资产编号*/
+	@ApiModelProperty(value = "原设备编号")
+	protected String  yuanSheBeiBian; 		/*原设备编号*/
+	@ApiModelProperty(value = "接收日期")
+	protected String  jieShouRiQi; 		/*接收日期*/
+	@ApiModelProperty(value = "厂家/品牌")
+	protected String  changJiaPinPai; 		/*厂家/品牌*/
+	@ApiModelProperty(value = "规格型号")
+	protected String  guiGeXingHao; 		/*规格型号*/
+	@ApiModelProperty(value = "申请报废日期")
+	protected String  baoFeiRiQi; 		/*申请报废日期*/
+	@ApiModelProperty(value = "申请原因")
+	protected String  shenQingYuanYi; 		/*申请原因*/
+	@ApiModelProperty(value = "生物危害消除处理")
+	protected String  shengWuWeiHai; 		/*生物危害消除处理*/
+	@ApiModelProperty(value = "报废设备处理时间")
+	protected String  baoFeiChuLiSh; 		/*报废设备处理时间*/
+	@ApiModelProperty(value = "设备科交接人")
+	protected String  jiaoJieRen; 		/*设备科交接人*/
+	@ApiModelProperty(value = "交接日期")
+	protected String  jiaoJieRiQi; 		/*交接日期*/
+	@ApiModelProperty(value = "附件")
+	protected String  fuJian; 		/*附件*/
+	@ApiModelProperty(value = "设备id")
+	protected String  sheBeiId; 		/*设备id*/
+	@ApiModelProperty(value = "地点")
+	protected String  diDian; 		/*地点*/
+	@ApiModelProperty(value = "快照")
+	protected String  kuaiZhao; 		/*快照*/
+	@ApiModelProperty(value = "查询往期")
+	protected String  chaXunWangQi; 		/*查询往期*/
+	@ApiModelProperty(value = "验收状态")
+	protected String  acceptanceStatus; 		/*验收状态*/
+	@ApiModelProperty(value = "去污处理")
+	protected String  quWuChuLi; 		/*去污处理*/
+	@ApiModelProperty(value = "去污详情")
+	protected String  quWuXiangQing; 		/*去污详情*/
+
+	public void setId(String id) 
+	{
+		this.id = id;
+	}
+	/**
+	 * 返回 主键
+	 * @return
+	 */
+	public String getId() 
+	{
+		return this.id;
+	}
+	public void setTenantId(String tenantId) 
+	{
+		this.tenantId = tenantId;
+	}
+	/**
+	 * 返回 租户ID
+	 * @return
+	 */
+	public String getTenantId() 
+	{
+		return this.tenantId;
+	}
+	public void setIp(String ip) 
+	{
+		this.ip = ip;
+	}
+	/**
+	 * 返回 IP地址
+	 * @return
+	 */
+	public String getIp() 
+	{
+		return this.ip;
+	}
+	public void setShiFouGuoShen(String shiFouGuoShen) 
+	{
+		this.shiFouGuoShen = shiFouGuoShen;
+	}
+	/**
+	 * 返回 是否过审
+	 * @return
+	 */
+	public String getShiFouGuoShen() 
+	{
+		return this.shiFouGuoShen;
+	}
+	public void setBianZhiRen(String bianZhiRen) 
+	{
+		this.bianZhiRen = bianZhiRen;
+	}
+	/**
+	 * 返回 编制人
+	 * @return
+	 */
+	public String getBianZhiRen() 
+	{
+		return this.bianZhiRen;
+	}
+	public void setBianZhiBuMen(String bianZhiBuMen) 
+	{
+		this.bianZhiBuMen = bianZhiBuMen;
+	}
+	/**
+	 * 返回 编制部门
+	 * @return
+	 */
+	public String getBianZhiBuMen() 
+	{
+		return this.bianZhiBuMen;
+	}
+	public void setBianZhiShiJian(String bianZhiShiJian) 
+	{
+		this.bianZhiShiJian = bianZhiShiJian;
+	}
+	/**
+	 * 返回 编制时间
+	 * @return
+	 */
+	public String getBianZhiShiJian() 
+	{
+		return this.bianZhiShiJian;
+	}
+	public void setSheBeiMingChen(String sheBeiMingChen) 
+	{
+		this.sheBeiMingChen = sheBeiMingChen;
+	}
+	/**
+	 * 返回 设备名称
+	 * @return
+	 */
+	public String getSheBeiMingChen() 
+	{
+		return this.sheBeiMingChen;
+	}
+	public void setSheBeiBianHao(String sheBeiBianHao) 
+	{
+		this.sheBeiBianHao = sheBeiBianHao;
+	}
+	/**
+	 * 返回 设备编号
+	 * @return
+	 */
+	public String getSheBeiBianHao() 
+	{
+		return this.sheBeiBianHao;
+	}
+	public void setChuLiLeiXing(String chuLiLeiXing) 
+	{
+		this.chuLiLeiXing = chuLiLeiXing;
+	}
+	/**
+	 * 返回 处理类型
+	 * @return
+	 */
+	public String getChuLiLeiXing() 
+	{
+		return this.chuLiLeiXing;
+	}
+	public void setZiChanBianHao(String ziChanBianHao) 
+	{
+		this.ziChanBianHao = ziChanBianHao;
+	}
+	/**
+	 * 返回 固定资产编号
+	 * @return
+	 */
+	public String getZiChanBianHao() 
+	{
+		return this.ziChanBianHao;
+	}
+	public void setYuanSheBeiBian(String yuanSheBeiBian) 
+	{
+		this.yuanSheBeiBian = yuanSheBeiBian;
+	}
+	/**
+	 * 返回 原设备编号
+	 * @return
+	 */
+	public String getYuanSheBeiBian() 
+	{
+		return this.yuanSheBeiBian;
+	}
+	public void setJieShouRiQi(String jieShouRiQi) 
+	{
+		this.jieShouRiQi = jieShouRiQi;
+	}
+	/**
+	 * 返回 接收日期
+	 * @return
+	 */
+	public String getJieShouRiQi() 
+	{
+		return this.jieShouRiQi;
+	}
+	public void setChangJiaPinPai(String changJiaPinPai) 
+	{
+		this.changJiaPinPai = changJiaPinPai;
+	}
+	/**
+	 * 返回 厂家/品牌
+	 * @return
+	 */
+	public String getChangJiaPinPai() 
+	{
+		return this.changJiaPinPai;
+	}
+	public void setGuiGeXingHao(String guiGeXingHao) 
+	{
+		this.guiGeXingHao = guiGeXingHao;
+	}
+	/**
+	 * 返回 规格型号
+	 * @return
+	 */
+	public String getGuiGeXingHao() 
+	{
+		return this.guiGeXingHao;
+	}
+	public void setBaoFeiRiQi(String baoFeiRiQi) 
+	{
+		this.baoFeiRiQi = baoFeiRiQi;
+	}
+	/**
+	 * 返回 申请报废日期
+	 * @return
+	 */
+	public String getBaoFeiRiQi() 
+	{
+		return this.baoFeiRiQi;
+	}
+	public void setShenQingYuanYi(String shenQingYuanYi) 
+	{
+		this.shenQingYuanYi = shenQingYuanYi;
+	}
+	/**
+	 * 返回 申请原因
+	 * @return
+	 */
+	public String getShenQingYuanYi() 
+	{
+		return this.shenQingYuanYi;
+	}
+	public void setShengWuWeiHai(String shengWuWeiHai) 
+	{
+		this.shengWuWeiHai = shengWuWeiHai;
+	}
+	/**
+	 * 返回 生物危害消除处理
+	 * @return
+	 */
+	public String getShengWuWeiHai() 
+	{
+		return this.shengWuWeiHai;
+	}
+	public void setBaoFeiChuLiSh(String baoFeiChuLiSh) 
+	{
+		this.baoFeiChuLiSh = baoFeiChuLiSh;
+	}
+	/**
+	 * 返回 报废设备处理时间
+	 * @return
+	 */
+	public String getBaoFeiChuLiSh() 
+	{
+		return this.baoFeiChuLiSh;
+	}
+	public void setJiaoJieRen(String jiaoJieRen) 
+	{
+		this.jiaoJieRen = jiaoJieRen;
+	}
+	/**
+	 * 返回 设备科交接人
+	 * @return
+	 */
+	public String getJiaoJieRen() 
+	{
+		return this.jiaoJieRen;
+	}
+	public void setJiaoJieRiQi(String jiaoJieRiQi) 
+	{
+		this.jiaoJieRiQi = jiaoJieRiQi;
+	}
+	/**
+	 * 返回 交接日期
+	 * @return
+	 */
+	public String getJiaoJieRiQi() 
+	{
+		return this.jiaoJieRiQi;
+	}
+	public void setFuJian(String fuJian) 
+	{
+		this.fuJian = fuJian;
+	}
+	/**
+	 * 返回 附件
+	 * @return
+	 */
+	public String getFuJian() 
+	{
+		return this.fuJian;
+	}
+	public void setSheBeiId(String sheBeiId) 
+	{
+		this.sheBeiId = sheBeiId;
+	}
+	/**
+	 * 返回 设备id
+	 * @return
+	 */
+	public String getSheBeiId() 
+	{
+		return this.sheBeiId;
+	}
+	public void setDiDian(String diDian) 
+	{
+		this.diDian = diDian;
+	}
+	/**
+	 * 返回 地点
+	 * @return
+	 */
+	public String getDiDian() 
+	{
+		return this.diDian;
+	}
+	public void setKuaiZhao(String kuaiZhao) 
+	{
+		this.kuaiZhao = kuaiZhao;
+	}
+	/**
+	 * 返回 快照
+	 * @return
+	 */
+	public String getKuaiZhao() 
+	{
+		return this.kuaiZhao;
+	}
+	public void setChaXunWangQi(String chaXunWangQi) 
+	{
+		this.chaXunWangQi = chaXunWangQi;
+	}
+	/**
+	 * 返回 查询往期
+	 * @return
+	 */
+	public String getChaXunWangQi() 
+	{
+		return this.chaXunWangQi;
+	}
+	public void setAcceptanceStatus(String acceptanceStatus) 
+	{
+		this.acceptanceStatus = acceptanceStatus;
+	}
+	/**
+	 * 返回 验收状态
+	 * @return
+	 */
+	public String getAcceptanceStatus() 
+	{
+		return this.acceptanceStatus;
+	}
+	public void setQuWuChuLi(String quWuChuLi) 
+	{
+		this.quWuChuLi = quWuChuLi;
+	}
+	/**
+	 * 返回 去污处理
+	 * @return
+	 */
+	public String getQuWuChuLi() 
+	{
+		return this.quWuChuLi;
+	}
+	public void setQuWuXiangQing(String quWuXiangQing) 
+	{
+		this.quWuXiangQing = quWuXiangQing;
+	}
+	/**
+	 * 返回 去污详情
+	 * @return
+	 */
+	public String getQuWuXiangQing() 
+	{
+		return this.quWuXiangQing;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/AccessoriesDeviceProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IAccessoriesDeviceService;
+import com.lc.ibps.components.equipment.domain.AccessoriesDevice;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 附属设备及配件表 服务类
+ * <pre>
+ * 构建组:ibps-provider-accessoriesDevice
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:03
+ *</pre>
+ */
+@Api(tags = "附属设备及配件表管理", value = "附属设备及配件表数据")
+@Service
+public class AccessoriesDeviceProvider extends GenericProvider implements IAccessoriesDeviceService{
+
+	@Resource
+	private AccessoriesDeviceRepository accessoriesDeviceRepository;
+
+	@ApiOperation(value = "附属设备及配件表列表(分页条件查询)数据", notes = "附属设备及配件表列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<AccessoriesDevicePo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<AccessoriesDevicePo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<AccessoriesDevicePo> data = accessoriesDeviceRepository.query(queryFilter);
+			APIPageList<AccessoriesDevicePo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询附属设备及配件表", notes = "根据id查询附属设备及配件表")
+	@Override
+	public APIResult<AccessoriesDevicePo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<AccessoriesDevicePo> result = new APIResult<>();
+		try {
+			AccessoriesDevicePo accessoriesDevicePo = accessoriesDeviceRepository.get(id);
+			result.setData(accessoriesDevicePo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存附属设备及配件表信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "accessoriesDevicePo", value = "附属设备及配件表对象", required = true)  
+			@RequestBody(required = true) AccessoriesDevicePo accessoriesDevicePo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.AccessoriesDeviceProvider.save()--->accessoriesDevicePo: {}", accessoriesDevicePo.toString());
+			AccessoriesDevice domain = accessoriesDeviceRepository.newInstance(accessoriesDevicePo);
+			domain.save();
+			result.setMessage("保存附属设备及配件表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除附属设备及配件表", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "附属设备及配件表ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			AccessoriesDevice domain = accessoriesDeviceRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除附属设备及配件表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/CalibrationCheckRecordProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.ICalibrationCheckRecordService;
+import com.lc.ibps.components.equipment.domain.CalibrationCheckRecord;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+import com.lc.ibps.components.equipment.repository.CalibrationCheckRecordRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 检定校准实施记录表 服务类
+ * <pre>
+ * 构建组:ibps-provider-calibrationCheckRecord
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:57
+ *</pre>
+ */
+@Api(tags = "检定校准实施记录表管理", value = "检定校准实施记录表数据")
+@Service
+public class CalibrationCheckRecordProvider extends GenericProvider implements ICalibrationCheckRecordService{
+
+	@Resource
+	private CalibrationCheckRecordRepository calibrationCheckRecordRepository;
+
+	@ApiOperation(value = "检定校准实施记录表列表(分页条件查询)数据", notes = "检定校准实施记录表列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<CalibrationCheckRecordPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<CalibrationCheckRecordPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<CalibrationCheckRecordPo> data = calibrationCheckRecordRepository.query(queryFilter);
+			APIPageList<CalibrationCheckRecordPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询检定校准实施记录表", notes = "根据id查询检定校准实施记录表")
+	@Override
+	public APIResult<CalibrationCheckRecordPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<CalibrationCheckRecordPo> result = new APIResult<>();
+		try {
+			CalibrationCheckRecordPo calibrationCheckRecordPo = calibrationCheckRecordRepository.get(id);
+			result.setData(calibrationCheckRecordPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存检定校准实施记录表信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "calibrationCheckRecordPo", value = "检定校准实施记录表对象", required = true)  
+			@RequestBody(required = true) CalibrationCheckRecordPo calibrationCheckRecordPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.CalibrationCheckRecordProvider.save()--->calibrationCheckRecordPo: {}", calibrationCheckRecordPo.toString());
+			CalibrationCheckRecord domain = calibrationCheckRecordRepository.newInstance(calibrationCheckRecordPo);
+			domain.save();
+			result.setMessage("保存检定校准实施记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除检定校准实施记录表", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "检定校准实施记录表ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			CalibrationCheckRecord domain = calibrationCheckRecordRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除检定校准实施记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/EquipmentCardProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IEquipmentCardService;
+import com.lc.ibps.components.equipment.domain.EquipmentCard;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+import com.lc.ibps.components.equipment.repository.EquipmentCardRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 设备档案卡 服务类
+ * <pre>
+ * 构建组:ibps-provider-equipmentCard
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:56
+ *</pre>
+ */
+@Api(tags = "设备档案卡管理", value = "设备档案卡数据")
+@Service
+public class EquipmentCardProvider extends GenericProvider implements IEquipmentCardService{
+
+	@Resource
+	private EquipmentCardRepository equipmentCardRepository;
+
+	@ApiOperation(value = "设备档案卡列表(分页条件查询)数据", notes = "设备档案卡列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<EquipmentCardPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<EquipmentCardPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<EquipmentCardPo> data = equipmentCardRepository.query(queryFilter);
+			APIPageList<EquipmentCardPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询设备档案卡", notes = "根据id查询设备档案卡")
+	@Override
+	public APIResult<EquipmentCardPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<EquipmentCardPo> result = new APIResult<>();
+		try {
+			EquipmentCardPo equipmentCardPo = equipmentCardRepository.loadCascade(id);
+			result.setData(equipmentCardPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存设备档案卡信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "equipmentCardPo", value = "设备档案卡对象", required = true)  
+			@RequestBody(required = true) EquipmentCardPo equipmentCardPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.EquipmentCardProvider.save()--->equipmentCardPo: {}", equipmentCardPo.toString());
+			EquipmentCard domain = equipmentCardRepository.newInstance(equipmentCardPo);
+			domain.saveCascade();
+			result.setMessage("保存设备档案卡成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除设备档案卡", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "设备档案卡ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			EquipmentCard domain = equipmentCardRepository.newInstance();
+			domain.deleteByIdsCascade(ids);
+			result.setMessage("删除设备档案卡成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/MaintenanceItemProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IMaintenanceItemService;
+import com.lc.ibps.components.equipment.domain.MaintenanceItem;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 维护周期及项目 服务类
+ * <pre>
+ * 构建组:ibps-provider-maintenanceItem
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:09
+ *</pre>
+ */
+@Api(tags = "维护周期及项目管理", value = "维护周期及项目数据")
+@Service
+public class MaintenanceItemProvider extends GenericProvider implements IMaintenanceItemService{
+
+	@Resource
+	private MaintenanceItemRepository maintenanceItemRepository;
+
+	@ApiOperation(value = "维护周期及项目列表(分页条件查询)数据", notes = "维护周期及项目列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<MaintenanceItemPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<MaintenanceItemPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<MaintenanceItemPo> data = maintenanceItemRepository.query(queryFilter);
+			APIPageList<MaintenanceItemPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询维护周期及项目", notes = "根据id查询维护周期及项目")
+	@Override
+	public APIResult<MaintenanceItemPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<MaintenanceItemPo> result = new APIResult<>();
+		try {
+			MaintenanceItemPo maintenanceItemPo = maintenanceItemRepository.get(id);
+			result.setData(maintenanceItemPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存维护周期及项目信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "maintenanceItemPo", value = "维护周期及项目对象", required = true)  
+			@RequestBody(required = true) MaintenanceItemPo maintenanceItemPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.MaintenanceItemProvider.save()--->maintenanceItemPo: {}", maintenanceItemPo.toString());
+			MaintenanceItem domain = maintenanceItemRepository.newInstance(maintenanceItemPo);
+			domain.save();
+			result.setMessage("保存维护周期及项目成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除维护周期及项目", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "维护周期及项目ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			MaintenanceItem domain = maintenanceItemRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除维护周期及项目成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/MaintenanceRecordProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IMaintenanceRecordService;
+import com.lc.ibps.components.equipment.domain.MaintenanceRecord;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+import com.lc.ibps.components.equipment.repository.MaintenanceRecordRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 设备维护记录表 服务类
+ * <pre>
+ * 构建组:ibps-provider-maintenanceRecord
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:06
+ *</pre>
+ */
+@Api(tags = "设备维护记录表管理", value = "设备维护记录表数据")
+@Service
+public class MaintenanceRecordProvider extends GenericProvider implements IMaintenanceRecordService{
+
+	@Resource
+	private MaintenanceRecordRepository maintenanceRecordRepository;
+
+	@ApiOperation(value = "设备维护记录表列表(分页条件查询)数据", notes = "设备维护记录表列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<MaintenanceRecordPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<MaintenanceRecordPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<MaintenanceRecordPo> data = maintenanceRecordRepository.query(queryFilter);
+			APIPageList<MaintenanceRecordPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询设备维护记录表", notes = "根据id查询设备维护记录表")
+	@Override
+	public APIResult<MaintenanceRecordPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<MaintenanceRecordPo> result = new APIResult<>();
+		try {
+			MaintenanceRecordPo maintenanceRecordPo = maintenanceRecordRepository.get(id);
+			result.setData(maintenanceRecordPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存设备维护记录表信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "maintenanceRecordPo", value = "设备维护记录表对象", required = true)  
+			@RequestBody(required = true) MaintenanceRecordPo maintenanceRecordPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.MaintenanceRecordProvider.save()--->maintenanceRecordPo: {}", maintenanceRecordPo.toString());
+			MaintenanceRecord domain = maintenanceRecordRepository.newInstance(maintenanceRecordPo);
+			domain.save();
+			result.setMessage("保存设备维护记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除设备维护记录表", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "设备维护记录表ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			MaintenanceRecord domain = maintenanceRecordRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除设备维护记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/RepairRecordProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IRepairRecordService;
+import com.lc.ibps.components.equipment.domain.RepairRecord;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+import com.lc.ibps.components.equipment.repository.RepairRecordRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 设备维修记录表 服务类
+ * <pre>
+ * 构建组:ibps-provider-repairRecord
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:49:01
+ *</pre>
+ */
+@Api(tags = "设备维修记录表管理", value = "设备维修记录表数据")
+@Service
+public class RepairRecordProvider extends GenericProvider implements IRepairRecordService{
+
+	@Resource
+	private RepairRecordRepository repairRecordRepository;
+
+	@ApiOperation(value = "设备维修记录表列表(分页条件查询)数据", notes = "设备维修记录表列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<RepairRecordPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<RepairRecordPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<RepairRecordPo> data = repairRecordRepository.query(queryFilter);
+			APIPageList<RepairRecordPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询设备维修记录表", notes = "根据id查询设备维修记录表")
+	@Override
+	public APIResult<RepairRecordPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<RepairRecordPo> result = new APIResult<>();
+		try {
+			RepairRecordPo repairRecordPo = repairRecordRepository.get(id);
+			result.setData(repairRecordPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存设备维修记录表信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "repairRecordPo", value = "设备维修记录表对象", required = true)  
+			@RequestBody(required = true) RepairRecordPo repairRecordPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.RepairRecordProvider.save()--->repairRecordPo: {}", repairRecordPo.toString());
+			RepairRecord domain = repairRecordRepository.newInstance(repairRecordPo);
+			domain.save();
+			result.setMessage("保存设备维修记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除设备维修记录表", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "设备维修记录表ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			RepairRecord domain = repairRecordRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除设备维修记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/provider/ScrappedRecordProvider.java

@@ -0,0 +1,123 @@
+package com.lc.ibps.components.equipment.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import com.lc.ibps.api.base.constants.StateEnum;
+import com.lc.ibps.api.base.query.QueryFilter;
+import com.lc.ibps.base.core.constants.StringPool;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.cloud.entity.APIPageList;
+import com.lc.ibps.cloud.entity.APIRequest;
+import com.lc.ibps.cloud.entity.APIResult;
+import com.lc.ibps.cloud.provider.GenericProvider;
+import com.lc.ibps.components.equipment.api.IScrappedRecordService;
+import com.lc.ibps.components.equipment.domain.ScrappedRecord;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+import com.lc.ibps.components.equipment.repository.ScrappedRecordRepository;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import io.swagger.annotations.Extension;
+import io.swagger.annotations.ExtensionProperty;
+
+/**
+ * 设备停用报废记录表 服务类
+ * <pre>
+ * 构建组:ibps-provider-scrappedRecord
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:13
+ *</pre>
+ */
+@Api(tags = "设备停用报废记录表管理", value = "设备停用报废记录表数据")
+@Service
+public class ScrappedRecordProvider extends GenericProvider implements IScrappedRecordService{
+
+	@Resource
+	private ScrappedRecordRepository scrappedRecordRepository;
+
+	@ApiOperation(value = "设备停用报废记录表列表(分页条件查询)数据", notes = "设备停用报废记录表列表(分页条件查询)数据")
+	@Override
+	public APIResult<APIPageList<ScrappedRecordPo>> query(
+			@ApiParam(name = "request", value = "传入查询请求json字符串", required = true) 
+			@RequestBody(required = true) APIRequest request) {
+		APIResult<APIPageList<ScrappedRecordPo>> result = new APIResult<>();
+		try {
+			QueryFilter queryFilter = getQueryFilter(request);
+			List<ScrappedRecordPo> data = scrappedRecordRepository.query(queryFilter);
+			APIPageList<ScrappedRecordPo> apiPageData = getAPIPageList(data);
+			result.setData(apiPageData);
+		} catch (Exception e) {
+			// TODO ERROR => other error message
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "根据id查询设备停用报废记录表", notes = "根据id查询设备停用报废记录表")
+	@Override
+	public APIResult<ScrappedRecordPo> get(
+			@ApiParam(name = "id", value = "查询id", required = true) 
+			@RequestParam(name = "id", required = true) String id) {
+		APIResult<ScrappedRecordPo> result = new APIResult<>();
+		try {
+			ScrappedRecordPo scrappedRecordPo = scrappedRecordRepository.get(id);
+			result.setData(scrappedRecordPo);
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+	@ApiOperation(value = "保存", notes = "保存设备停用报废记录表信息", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> save(
+			@ApiParam(name = "scrappedRecordPo", value = "设备停用报废记录表对象", required = true)  
+			@RequestBody(required = true) ScrappedRecordPo scrappedRecordPo) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			logger.info(" com.lc.ibps.components.provider.ScrappedRecordProvider.save()--->scrappedRecordPo: {}", scrappedRecordPo.toString());
+			ScrappedRecord domain = scrappedRecordRepository.newInstance(scrappedRecordPo);
+			domain.save();
+			result.setMessage("保存设备停用报废记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+
+	@ApiOperation(value = "删除", notes = "删除设备停用报废记录表", 
+			extensions = {
+					@Extension(properties = {
+							@ExtensionProperty(name = "submitCtrl", value = StringPool.Y)
+					})
+			})
+	@Override
+	public APIResult<Void> remove(
+			@ApiParam(name = "ids", value = "设备停用报废记录表ID数组", required = true)  
+			@RequestParam(name = "ids", required = true) String[] ids) {
+		APIResult<Void> result = new APIResult<Void>();
+		try {
+			ScrappedRecord domain = scrappedRecordRepository.newInstance();
+			domain.deleteByIds(ids);
+			result.setMessage("删除设备停用报废记录表成功");
+		} catch (Exception e) {
+			setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
+		}
+		return result;
+	}
+	
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/AccessoriesDeviceRepository.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.repository;
+
+import java.util.List;
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.AccessoriesDevice;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:01
+ *</pre>
+ */
+public interface AccessoriesDeviceRepository extends IRepository<String, AccessoriesDevicePo,AccessoriesDevice>{
+	 /**
+	 * 根据主表ID查询 附属设备及配件表 列表
+	 * @param mainId
+	 * @return 
+	 * List<AccessoriesDevicePo>
+	 */
+	public List<AccessoriesDevicePo> findByMainId(String mainId);
+
+}

+ 18 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/CalibrationCheckRecordRepository.java

@@ -0,0 +1,18 @@
+package com.lc.ibps.components.equipment.repository;
+
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.CalibrationCheckRecord;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:56
+ *</pre>
+ */
+public interface CalibrationCheckRecordRepository extends IRepository<String, CalibrationCheckRecordPo,CalibrationCheckRecord>{
+
+}

+ 23 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/EquipmentCardRepository.java

@@ -0,0 +1,23 @@
+package com.lc.ibps.components.equipment.repository;
+
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.EquipmentCard;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+
+/**
+ * 设备档案卡 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:54
+ *</pre>
+ */
+public interface EquipmentCardRepository extends IRepository<String, EquipmentCardPo,EquipmentCard>{
+
+	/**
+	 * 查询全部子表的数据,并设置到主表Po中 
+	 * void
+	 */
+	public EquipmentCardPo loadCascade(String id);
+}

+ 26 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/MaintenanceItemRepository.java

@@ -0,0 +1,26 @@
+package com.lc.ibps.components.equipment.repository;
+
+import java.util.List;
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.MaintenanceItem;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:07
+ *</pre>
+ */
+public interface MaintenanceItemRepository extends IRepository<String, MaintenanceItemPo,MaintenanceItem>{
+	 /**
+	 * 根据主表ID查询 维护周期及项目 列表
+	 * @param mainId
+	 * @return 
+	 * List<MaintenanceItemPo>
+	 */
+	public List<MaintenanceItemPo> findByMainId(String mainId);
+
+}

+ 18 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/MaintenanceRecordRepository.java

@@ -0,0 +1,18 @@
+package com.lc.ibps.components.equipment.repository;
+
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.MaintenanceRecord;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:04
+ *</pre>
+ */
+public interface MaintenanceRecordRepository extends IRepository<String, MaintenanceRecordPo,MaintenanceRecord>{
+
+}

+ 18 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/RepairRecordRepository.java

@@ -0,0 +1,18 @@
+package com.lc.ibps.components.equipment.repository;
+
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.RepairRecord;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:49:00
+ *</pre>
+ */
+public interface RepairRecordRepository extends IRepository<String, RepairRecordPo,RepairRecord>{
+
+}

+ 18 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/ScrappedRecordRepository.java

@@ -0,0 +1,18 @@
+package com.lc.ibps.components.equipment.repository;
+
+import com.lc.ibps.base.framework.repository.IRepository;
+import com.lc.ibps.components.equipment.domain.ScrappedRecord;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 仓库接口
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:11
+ *</pre>
+ */
+public interface ScrappedRecordRepository extends IRepository<String, ScrappedRecordPo,ScrappedRecord>{
+
+}

+ 63 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/AccessoriesDeviceRepositoryImpl.java

@@ -0,0 +1,63 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.AccessoriesDevice;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+
+/**
+ * 附属设备及配件表 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:01
+ *</pre>
+ */
+@Repository
+public class AccessoriesDeviceRepositoryImpl extends AbstractRepository<String, AccessoriesDevicePo,AccessoriesDevice> implements AccessoriesDeviceRepository{
+	  
+	@Resource
+	private  AccessoriesDeviceQueryDao accessoriesDeviceQueryDao;
+
+	public AccessoriesDevice newInstance() {
+		AccessoriesDevicePo po = new AccessoriesDevicePo();
+		AccessoriesDevice accessoriesDevice = AppUtil.getBean(AccessoriesDevice.class);
+		accessoriesDevice.setData(po);
+		return accessoriesDevice;
+	}
+
+	public AccessoriesDevice newInstance(AccessoriesDevicePo po) {
+		AccessoriesDevice accessoriesDevice = AppUtil.getBean(AccessoriesDevice.class);
+		accessoriesDevice.setData(po);
+		return accessoriesDevice;
+	} 
+	
+	@Override
+	protected IQueryDao<String, AccessoriesDevicePo> getQueryDao() {
+		return accessoriesDeviceQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "accessoriesDevice";
+	}
+	
+	@Override
+	public List<AccessoriesDevicePo> findByMainId(String mainId) {
+		List<AccessoriesDevicePo> list = findByKey("findByMainId", "findIdsByMainId",
+				b().a("mainId", mainId).p());
+		return list;
+	}
+
+	
+}

+ 56 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/CalibrationCheckRecordRepositoryImpl.java

@@ -0,0 +1,56 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.CalibrationCheckRecord;
+import com.lc.ibps.components.equipment.repository.CalibrationCheckRecordRepository;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+
+/**
+ * 检定校准实施记录表 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:56
+ *</pre>
+ */
+@Repository
+public class CalibrationCheckRecordRepositoryImpl extends AbstractRepository<String, CalibrationCheckRecordPo,CalibrationCheckRecord> implements CalibrationCheckRecordRepository{
+	  
+	@Resource
+	private  CalibrationCheckRecordQueryDao calibrationCheckRecordQueryDao;
+
+	public CalibrationCheckRecord newInstance() {
+		CalibrationCheckRecordPo po = new CalibrationCheckRecordPo();
+		CalibrationCheckRecord calibrationCheckRecord = AppUtil.getBean(CalibrationCheckRecord.class);
+		calibrationCheckRecord.setData(po);
+		return calibrationCheckRecord;
+	}
+
+	public CalibrationCheckRecord newInstance(CalibrationCheckRecordPo po) {
+		CalibrationCheckRecord calibrationCheckRecord = AppUtil.getBean(CalibrationCheckRecord.class);
+		calibrationCheckRecord.setData(po);
+		return calibrationCheckRecord;
+	} 
+	
+	@Override
+	protected IQueryDao<String, CalibrationCheckRecordPo> getQueryDao() {
+		return calibrationCheckRecordQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "calibrationCheckRecord";
+	}
+	
+
+	
+}

+ 87 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/EquipmentCardRepositoryImpl.java

@@ -0,0 +1,87 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.string.StringUtil;
+import com.lc.ibps.base.core.util.BeanUtils;
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.EquipmentCard;
+import com.lc.ibps.components.equipment.repository.EquipmentCardRepository;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 设备档案卡 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:54
+ *</pre>
+ */
+@Repository
+public class EquipmentCardRepositoryImpl extends AbstractRepository<String, EquipmentCardPo,EquipmentCard> implements EquipmentCardRepository{
+	  
+	@Resource
+	private  EquipmentCardQueryDao equipmentCardQueryDao;
+	@Resource
+	private  AccessoriesDeviceRepository accessoriesDeviceRepository;
+	@Resource
+	private  MaintenanceItemRepository maintenanceItemRepository;
+
+	public EquipmentCard newInstance() {
+		EquipmentCardPo po = new EquipmentCardPo();
+		EquipmentCard equipmentCard = AppUtil.getBean(EquipmentCard.class);
+		equipmentCard.setData(po);
+		return equipmentCard;
+	}
+
+	public EquipmentCard newInstance(EquipmentCardPo po) {
+		EquipmentCard equipmentCard = AppUtil.getBean(EquipmentCard.class);
+		equipmentCard.setData(po);
+		return equipmentCard;
+	} 
+	
+	@Override
+	protected IQueryDao<String, EquipmentCardPo> getQueryDao() {
+		return equipmentCardQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "equipmentCard";
+	}
+	
+
+	/**
+	 * 查询全部子表的数据,并设置到主表Po中 
+	 * void
+	 */
+	@Override
+	public EquipmentCardPo loadCascade(String id){
+		EquipmentCardPo equipmentCardPo = null;
+		if(StringUtil.isNotEmpty(id)){
+			equipmentCardPo = get(id);
+			if(BeanUtils.isNotEmpty(equipmentCardPo) && BeanUtils.isNotEmpty(equipmentCardPo.getId())){
+				List<AccessoriesDevicePo> accessoriesDevicePoList = accessoriesDeviceRepository.findByMainId(equipmentCardPo.getId());
+				equipmentCardPo.setAccessoriesDevicePoList(accessoriesDevicePoList);
+			}
+			if(BeanUtils.isNotEmpty(equipmentCardPo) && BeanUtils.isNotEmpty(equipmentCardPo.getId())){
+				List<MaintenanceItemPo> maintenanceItemPoList = maintenanceItemRepository.findByMainId(equipmentCardPo.getId());
+				equipmentCardPo.setMaintenanceItemPoList(maintenanceItemPoList);
+			}
+		}
+		return equipmentCardPo;
+	}
+	
+}

+ 63 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/MaintenanceItemRepositoryImpl.java

@@ -0,0 +1,63 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.MaintenanceItem;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+
+/**
+ * 维护周期及项目 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:07
+ *</pre>
+ */
+@Repository
+public class MaintenanceItemRepositoryImpl extends AbstractRepository<String, MaintenanceItemPo,MaintenanceItem> implements MaintenanceItemRepository{
+	  
+	@Resource
+	private  MaintenanceItemQueryDao maintenanceItemQueryDao;
+
+	public MaintenanceItem newInstance() {
+		MaintenanceItemPo po = new MaintenanceItemPo();
+		MaintenanceItem maintenanceItem = AppUtil.getBean(MaintenanceItem.class);
+		maintenanceItem.setData(po);
+		return maintenanceItem;
+	}
+
+	public MaintenanceItem newInstance(MaintenanceItemPo po) {
+		MaintenanceItem maintenanceItem = AppUtil.getBean(MaintenanceItem.class);
+		maintenanceItem.setData(po);
+		return maintenanceItem;
+	} 
+	
+	@Override
+	protected IQueryDao<String, MaintenanceItemPo> getQueryDao() {
+		return maintenanceItemQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "maintenanceItem";
+	}
+	
+	@Override
+	public List<MaintenanceItemPo> findByMainId(String mainId) {
+		List<MaintenanceItemPo> list = findByKey("findByMainId", "findIdsByMainId",
+				b().a("mainId", mainId).p());
+		return list;
+	}
+
+	
+}

+ 56 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/MaintenanceRecordRepositoryImpl.java

@@ -0,0 +1,56 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.MaintenanceRecord;
+import com.lc.ibps.components.equipment.repository.MaintenanceRecordRepository;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+
+/**
+ * 设备维护记录表 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:04
+ *</pre>
+ */
+@Repository
+public class MaintenanceRecordRepositoryImpl extends AbstractRepository<String, MaintenanceRecordPo,MaintenanceRecord> implements MaintenanceRecordRepository{
+	  
+	@Resource
+	private  MaintenanceRecordQueryDao maintenanceRecordQueryDao;
+
+	public MaintenanceRecord newInstance() {
+		MaintenanceRecordPo po = new MaintenanceRecordPo();
+		MaintenanceRecord maintenanceRecord = AppUtil.getBean(MaintenanceRecord.class);
+		maintenanceRecord.setData(po);
+		return maintenanceRecord;
+	}
+
+	public MaintenanceRecord newInstance(MaintenanceRecordPo po) {
+		MaintenanceRecord maintenanceRecord = AppUtil.getBean(MaintenanceRecord.class);
+		maintenanceRecord.setData(po);
+		return maintenanceRecord;
+	} 
+	
+	@Override
+	protected IQueryDao<String, MaintenanceRecordPo> getQueryDao() {
+		return maintenanceRecordQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "maintenanceRecord";
+	}
+	
+
+	
+}

+ 56 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/RepairRecordRepositoryImpl.java

@@ -0,0 +1,56 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.RepairRecord;
+import com.lc.ibps.components.equipment.repository.RepairRecordRepository;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+
+/**
+ * 设备维修记录表 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:59
+ *</pre>
+ */
+@Repository
+public class RepairRecordRepositoryImpl extends AbstractRepository<String, RepairRecordPo,RepairRecord> implements RepairRecordRepository{
+	  
+	@Resource
+	private  RepairRecordQueryDao repairRecordQueryDao;
+
+	public RepairRecord newInstance() {
+		RepairRecordPo po = new RepairRecordPo();
+		RepairRecord repairRecord = AppUtil.getBean(RepairRecord.class);
+		repairRecord.setData(po);
+		return repairRecord;
+	}
+
+	public RepairRecord newInstance(RepairRecordPo po) {
+		RepairRecord repairRecord = AppUtil.getBean(RepairRecord.class);
+		repairRecord.setData(po);
+		return repairRecord;
+	} 
+	
+	@Override
+	protected IQueryDao<String, RepairRecordPo> getQueryDao() {
+		return repairRecordQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "repairRecord";
+	}
+	
+
+	
+}

+ 56 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/equipment/repository/impl/ScrappedRecordRepositoryImpl.java

@@ -0,0 +1,56 @@
+package com.lc.ibps.components.equipment.repository.impl;
+
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Repository;
+
+import com.lc.ibps.base.core.util.AppUtil;
+import com.lc.ibps.base.framework.persistence.dao.IQueryDao;
+import com.lc.ibps.base.framework.repository.AbstractRepository;
+import com.lc.ibps.components.equipment.domain.ScrappedRecord;
+import com.lc.ibps.components.equipment.repository.ScrappedRecordRepository;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+
+/**
+ * 设备停用报废记录表 仓库的实现类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:11
+ *</pre>
+ */
+@Repository
+public class ScrappedRecordRepositoryImpl extends AbstractRepository<String, ScrappedRecordPo,ScrappedRecord> implements ScrappedRecordRepository{
+	  
+	@Resource
+	private  ScrappedRecordQueryDao scrappedRecordQueryDao;
+
+	public ScrappedRecord newInstance() {
+		ScrappedRecordPo po = new ScrappedRecordPo();
+		ScrappedRecord scrappedRecord = AppUtil.getBean(ScrappedRecord.class);
+		scrappedRecord.setData(po);
+		return scrappedRecord;
+	}
+
+	public ScrappedRecord newInstance(ScrappedRecordPo po) {
+		ScrappedRecord scrappedRecord = AppUtil.getBean(ScrappedRecord.class);
+		scrappedRecord.setData(po);
+		return scrappedRecord;
+	} 
+	
+	@Override
+	protected IQueryDao<String, ScrappedRecordPo> getQueryDao() {
+		return scrappedRecordQueryDao;
+	}
+	
+	@Override
+	public String getInternalCacheName() {
+		return "scrappedRecord";
+	}
+	
+
+	
+}

+ 123 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/AccessoriesDevice.map.xml

@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="AccessoriesDevicePo" type="com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="parentId" column="PARENT_ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="mingCheng" column="MING_CHENG_" jdbcType="VARCHAR"/>
+		<result property="guiGeXingHao" column="GUI_GE_XING_HAO_" jdbcType="VARCHAR"/>
+		<result property="danWei" column="DAN_WEI_" jdbcType="VARCHAR"/>
+		<result property="shuLiang" column="SHU_LIANG_" jdbcType="VARCHAR"/>
+		<result property="yonTu" column="YON_TU_" jdbcType="VARCHAR"/>
+		<result property="yongTu" column="YONG_TU_" jdbcType="VARCHAR"/>
+		<result property="guiGeXingHao1" column="GUI_GE_XING_HAO_1" jdbcType="VARCHAR"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,PARENT_ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,MING_CHENG_,GUI_GE_XING_HAO_,DAN_WEI_,SHU_LIANG_,YON_TU_,YONG_TU_,GUI_GE_XING_HAO_1
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo">
+		INSERT INTO T_FSSBJPJB
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{mingCheng,jdbcType=VARCHAR}, #{guiGeXingHao,jdbcType=VARCHAR}, #{danWei,jdbcType=VARCHAR}, #{shuLiang,jdbcType=VARCHAR}, #{yonTu,jdbcType=VARCHAR}, #{yongTu,jdbcType=VARCHAR}, #{guiGeXingHao1,jdbcType=VARCHAR})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="AccessoriesDevicePo">
+		SELECT <include refid="columns"/> FROM T_FSSBJPJB 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_FSSBJPJB
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="AccessoriesDevicePo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="AccessoriesDevicePo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="AccessoriesDevicePo">
+		SELECT <include refid="columns"/> FROM T_FSSBJPJB
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo">
+		UPDATE T_FSSBJPJB SET
+		PARENT_ID_=#{parentId,jdbcType=VARCHAR},
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		MING_CHENG_=#{mingCheng,jdbcType=VARCHAR},
+		GUI_GE_XING_HAO_=#{guiGeXingHao,jdbcType=VARCHAR},
+		DAN_WEI_=#{danWei,jdbcType=VARCHAR},
+		SHU_LIANG_=#{shuLiang,jdbcType=VARCHAR},
+		YON_TU_=#{yonTu,jdbcType=VARCHAR},
+		YONG_TU_=#{yongTu,jdbcType=VARCHAR},
+		GUI_GE_XING_HAO_1=#{guiGeXingHao1,jdbcType=VARCHAR}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_FSSBJPJB 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	<delete id="deleteByMainId">
+	    DELETE FROM T_FSSBJPJB
+	    WHERE
+	    PARENT_ID_=#{mainId}
+	</delete>    
+	
+	<select id="findByMainId" resultMap="AccessoriesDevicePo">
+	    SELECT <include refid="columns"/>
+	    FROM T_FSSBJPJB 
+	    WHERE PARENT_ID_=#{mainId}
+	</select>
+	
+	<select id="findIdsByMainId" parameterType="java.util.Map" resultMap="AccessoriesDevicePo">
+		SELECT ID_ FROM T_FSSBJPJB
+	    WHERE
+	    PARENT_ID_=#{mainId}
+	</select>
+	
+</mapper>

+ 152 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/CalibrationCheckRecord.map.xml

@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="CalibrationCheckRecordPo" type="com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="parentId" column="PARENT_ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="sheBeiMingChen" column="SHE_BEI_MING_CHEN" jdbcType="VARCHAR"/>
+		<result property="sheBeiId" column="SHE_BEI_BIAN_HAO_" jdbcType="VARCHAR"/>
+		<result property="xingHaoGuiGe" column="XING_HAO_GUI_GE_" jdbcType="VARCHAR"/>
+		<result property="chuChangBianHa" column="CHU_CHANG_BIAN_HA" jdbcType="VARCHAR"/>
+		<result property="zhunQueDu" column="ZHUN_QUE_DU_" jdbcType="VARCHAR"/>
+		<result property="liangCheng" column="LIANG_CHENG_" jdbcType="VARCHAR"/>
+		<result property="jianDingDanWei" column="JIAN_DING_DAN_WEI" jdbcType="VARCHAR"/>
+		<result property="jianDingZhouQi" column="JIAN_DING_ZHOU_QI" jdbcType="VARCHAR"/>
+		<result property="yiJianXiaoRiQ" column="YI_JIAN_XIAO_RI_Q" jdbcType="VARCHAR"/>
+		<result property="jiHuaRiQi" column="JI_HUA_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="beiZhu" column="BEI_ZHU_" jdbcType="BLOB"/>
+		<result property="sheBeiMingChe" column="SHE_BEI_MING_CHE" jdbcType="VARCHAR"/>
+		<result property="songJianDanWei" column="SONG_JIAN_DAN_WEI" jdbcType="VARCHAR"/>
+		<result property="jianDingXiangM" column="JIAN_DING_XIANG_M" jdbcType="VARCHAR"/>
+		<result property="zuiDaYunCha" column="ZUI_DA_YUN_CHA_" jdbcType="VARCHAR"/>
+		<result property="fuZeRen" column="FU_ZE_REN_" jdbcType="VARCHAR"/>
+		<result property="bianHaoZhongWe" column="BIAN_HAO_ZHONG_WE" jdbcType="VARCHAR"/>
+		<result property="diDian" column="DI_DIAN_" jdbcType="VARCHAR"/>
+		<result property="sheBeiLeiXing" column="SHE_BEI_LEI_XING_" jdbcType="VARCHAR"/>
+		<result property="changJiaPinPai" column="CHANG_JIA_PIN_PAI" jdbcType="VARCHAR"/>
+		<result property="shiShiRiQi" column="SHI_SHI_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="xiuZhengYinZi" column="XIU_ZHENG_YIN_ZI_" jdbcType="VARCHAR"/>
+		<result property="jingBanRen" column="JING_BAN_REN_" jdbcType="VARCHAR"/>
+		<result property="danWeiId" column="DAN_WEI_ID" jdbcType="VARCHAR"/>
+		<result property="xiangMuId" column="XIANG_MU_ID_" jdbcType="VARCHAR"/>
+		<result property="canShu" column="CAN_SHU_" jdbcType="VARCHAR"/>
+		<result property="yuanSheBeiBian" column="YUAN_SHE_BEI_BIAN" jdbcType="VARCHAR"/>
+		<result property="marks" column="MARKS_" jdbcType="VARCHAR"/>
+		<result property="youXiaoQiZhi" column="YOU_XIAO_QI_ZHI_" jdbcType="VARCHAR"/>
+		<result property="recordParentid" column="RECORD_PARENTID_" jdbcType="VARCHAR"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,PARENT_ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,SHE_BEI_MING_CHEN,SHE_BEI_BIAN_HAO_,XING_HAO_GUI_GE_,CHU_CHANG_BIAN_HA,ZHUN_QUE_DU_,LIANG_CHENG_,JIAN_DING_DAN_WEI,JIAN_DING_ZHOU_QI,YI_JIAN_XIAO_RI_Q,JI_HUA_RI_QI_,BEI_ZHU_,SHE_BEI_MING_CHE,SONG_JIAN_DAN_WEI,JIAN_DING_XIANG_M,ZUI_DA_YUN_CHA_,FU_ZE_REN_,BIAN_HAO_ZHONG_WE,DI_DIAN_,SHE_BEI_LEI_XING_,CHANG_JIA_PIN_PAI,SHI_SHI_RI_QI_,XIU_ZHENG_YIN_ZI_,JING_BAN_REN_,DAN_WEI_ID,XIANG_MU_ID_,CAN_SHU_,YUAN_SHE_BEI_BIAN,MARKS_,YOU_XIAO_QI_ZHI_,RECORD_PARENTID_
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo">
+		INSERT INTO T_MJSBJDXZJHZB
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{sheBeiMingChen,jdbcType=VARCHAR}, #{sheBeiId,jdbcType=VARCHAR}, #{xingHaoGuiGe,jdbcType=VARCHAR}, #{chuChangBianHa,jdbcType=VARCHAR}, #{zhunQueDu,jdbcType=VARCHAR}, #{liangCheng,jdbcType=VARCHAR}, #{jianDingDanWei,jdbcType=VARCHAR}, #{jianDingZhouQi,jdbcType=VARCHAR}, #{yiJianXiaoRiQ,jdbcType=VARCHAR}, #{jiHuaRiQi,jdbcType=VARCHAR}, #{beiZhu,jdbcType=BLOB}, #{sheBeiMingChe,jdbcType=VARCHAR}, #{songJianDanWei,jdbcType=VARCHAR}, #{jianDingXiangM,jdbcType=VARCHAR}, #{zuiDaYunCha,jdbcType=VARCHAR}, #{fuZeRen,jdbcType=VARCHAR}, #{bianHaoZhongWe,jdbcType=VARCHAR}, #{diDian,jdbcType=VARCHAR}, #{sheBeiLeiXing,jdbcType=VARCHAR}, #{changJiaPinPai,jdbcType=VARCHAR}, #{shiShiRiQi,jdbcType=VARCHAR}, #{xiuZhengYinZi,jdbcType=VARCHAR}, #{jingBanRen,jdbcType=VARCHAR}, #{danWeiId,jdbcType=VARCHAR}, #{xiangMuId,jdbcType=VARCHAR}, #{canShu,jdbcType=VARCHAR}, #{yuanSheBeiBian,jdbcType=VARCHAR}, #{marks,jdbcType=VARCHAR}, #{youXiaoQiZhi,jdbcType=VARCHAR}, #{recordParentid,jdbcType=VARCHAR})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="CalibrationCheckRecordPo">
+		SELECT <include refid="columns"/> FROM T_MJSBJDXZJHZB 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_MJSBJDXZJHZB
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="CalibrationCheckRecordPo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="CalibrationCheckRecordPo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="CalibrationCheckRecordPo">
+		SELECT <include refid="columns"/> FROM T_MJSBJDXZJHZB
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo">
+		UPDATE T_MJSBJDXZJHZB SET
+		PARENT_ID_=#{parentId,jdbcType=VARCHAR},
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		SHE_BEI_MING_CHEN=#{sheBeiMingChen,jdbcType=VARCHAR},
+		SHE_BEI_BIAN_HAO_=#{sheBeiId,jdbcType=VARCHAR},
+		XING_HAO_GUI_GE_=#{xingHaoGuiGe,jdbcType=VARCHAR},
+		CHU_CHANG_BIAN_HA=#{chuChangBianHa,jdbcType=VARCHAR},
+		ZHUN_QUE_DU_=#{zhunQueDu,jdbcType=VARCHAR},
+		LIANG_CHENG_=#{liangCheng,jdbcType=VARCHAR},
+		JIAN_DING_DAN_WEI=#{jianDingDanWei,jdbcType=VARCHAR},
+		JIAN_DING_ZHOU_QI=#{jianDingZhouQi,jdbcType=VARCHAR},
+		YI_JIAN_XIAO_RI_Q=#{yiJianXiaoRiQ,jdbcType=VARCHAR},
+		JI_HUA_RI_QI_=#{jiHuaRiQi,jdbcType=VARCHAR},
+		BEI_ZHU_=#{beiZhu,jdbcType=BLOB},
+		SHE_BEI_MING_CHE=#{sheBeiMingChe,jdbcType=VARCHAR},
+		SONG_JIAN_DAN_WEI=#{songJianDanWei,jdbcType=VARCHAR},
+		JIAN_DING_XIANG_M=#{jianDingXiangM,jdbcType=VARCHAR},
+		ZUI_DA_YUN_CHA_=#{zuiDaYunCha,jdbcType=VARCHAR},
+		FU_ZE_REN_=#{fuZeRen,jdbcType=VARCHAR},
+		BIAN_HAO_ZHONG_WE=#{bianHaoZhongWe,jdbcType=VARCHAR},
+		DI_DIAN_=#{diDian,jdbcType=VARCHAR},
+		SHE_BEI_LEI_XING_=#{sheBeiLeiXing,jdbcType=VARCHAR},
+		CHANG_JIA_PIN_PAI=#{changJiaPinPai,jdbcType=VARCHAR},
+		SHI_SHI_RI_QI_=#{shiShiRiQi,jdbcType=VARCHAR},
+		XIU_ZHENG_YIN_ZI_=#{xiuZhengYinZi,jdbcType=VARCHAR},
+		JING_BAN_REN_=#{jingBanRen,jdbcType=VARCHAR},
+		DAN_WEI_ID=#{danWeiId,jdbcType=VARCHAR},
+		XIANG_MU_ID_=#{xiangMuId,jdbcType=VARCHAR},
+		CAN_SHU_=#{canShu,jdbcType=VARCHAR},
+		YUAN_SHE_BEI_BIAN=#{yuanSheBeiBian,jdbcType=VARCHAR},
+		MARKS_=#{marks,jdbcType=VARCHAR},
+		YOU_XIAO_QI_ZHI_=#{youXiaoQiZhi,jdbcType=VARCHAR},
+		RECORD_PARENTID_=#{recordParentid,jdbcType=VARCHAR}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_MJSBJDXZJHZB 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	
+</mapper>

Diferenças do arquivo suprimidas por serem muito extensas
+ 99 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/EquipmentCard.map.xml


+ 121 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/MaintenanceItem.map.xml

@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="MaintenanceItemPo" type="com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="parentId" column="PARENT_ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="kuaiZhao" column="KUAI_ZHAO_" jdbcType="VARCHAR"/>
+		<result property="weiHuZhouQiC" column="WEI_HU_ZHOU_QI_C_" jdbcType="VARCHAR"/>
+		<result property="weiHuXiangMuC" column="WEI_HU_XIANG_MU_C" jdbcType="VARCHAR"/>
+		<result property="weiHuRiQi" column="WEI_HU_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="weiHuLeiXing" column="WEI_HU_LEI_XING_" jdbcType="VARCHAR"/>
+		<result property="riQiShuZi" column="RI_QI_SHU_ZI_" jdbcType="VARCHAR"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,PARENT_ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,KUAI_ZHAO_,WEI_HU_ZHOU_QI_C_,WEI_HU_XIANG_MU_C,WEI_HU_RI_QI_,WEI_HU_LEI_XING_,RI_QI_SHU_ZI_
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo">
+		INSERT INTO T_WHZQJXM
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{kuaiZhao,jdbcType=VARCHAR}, #{weiHuZhouQiC,jdbcType=VARCHAR}, #{weiHuXiangMuC,jdbcType=VARCHAR}, #{weiHuRiQi,jdbcType=VARCHAR}, #{weiHuLeiXing,jdbcType=VARCHAR}, #{riQiShuZi,jdbcType=VARCHAR})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="MaintenanceItemPo">
+		SELECT <include refid="columns"/> FROM T_WHZQJXM 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_WHZQJXM
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="MaintenanceItemPo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="MaintenanceItemPo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="MaintenanceItemPo">
+		SELECT <include refid="columns"/> FROM T_WHZQJXM
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo">
+		UPDATE T_WHZQJXM SET
+		PARENT_ID_=#{parentId,jdbcType=VARCHAR},
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		KUAI_ZHAO_=#{kuaiZhao,jdbcType=VARCHAR},
+		WEI_HU_ZHOU_QI_C_=#{weiHuZhouQiC,jdbcType=VARCHAR},
+		WEI_HU_XIANG_MU_C=#{weiHuXiangMuC,jdbcType=VARCHAR},
+		WEI_HU_RI_QI_=#{weiHuRiQi,jdbcType=VARCHAR},
+		WEI_HU_LEI_XING_=#{weiHuLeiXing,jdbcType=VARCHAR},
+		RI_QI_SHU_ZI_=#{riQiShuZi,jdbcType=VARCHAR}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_WHZQJXM 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	<delete id="deleteByMainId">
+	    DELETE FROM T_WHZQJXM
+	    WHERE
+	    PARENT_ID_=#{mainId}
+	</delete>    
+	
+	<select id="findByMainId" resultMap="MaintenanceItemPo">
+	    SELECT <include refid="columns"/>
+	    FROM T_WHZQJXM 
+	    WHERE PARENT_ID_=#{mainId}
+	</select>
+	
+	<select id="findIdsByMainId" parameterType="java.util.Map" resultMap="MaintenanceItemPo">
+		SELECT ID_ FROM T_WHZQJXM
+	    WHERE
+	    PARENT_ID_=#{mainId}
+	</select>
+	
+</mapper>

+ 116 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/MaintenanceRecord.map.xml

@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="MaintenanceRecordPo" type="com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="parentId" column="PARENT_ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="qingXiHuoHuaT" column="QING_XI_HUO_HUA_T" jdbcType="VARCHAR"/>
+		<result property="yiQiQingLi" column="YI_QI_QING_LI_" jdbcType="VARCHAR"/>
+		<result property="biaoZhunHua" column="BIAO_ZHUN_HUA_" jdbcType="VARCHAR"/>
+		<result property="qianMing" column="QIAN_MING_" jdbcType="VARCHAR"/>
+		<result property="riQi" column="RI_QI_" jdbcType="VARCHAR"/>
+		<result property="beiZhu" column="BEI_ZHU_" jdbcType="VARCHAR"/>
+		<result property="weiHuXiangMu" column="WEI_HU_XIANG_MU_" jdbcType="VARCHAR"/>
+		<result property="weiHuZhuangTai" column="WEI_HU_ZHUANG_TAI" jdbcType="VARCHAR"/>
+		<result property="kaiJiShiJian" column="KAI_JI_SHI_JIAN_" jdbcType="VARCHAR"/>
+		<result property="guanJiShiJian" column="GUAN_JI_SHI_JIAN_" jdbcType="VARCHAR"/>
+		<result property="weiHuRiQi" column="WEI_HU_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="shiFouKaiJi" column="SHI_FOU_KAI_JI_" jdbcType="VARCHAR"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,PARENT_ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,QING_XI_HUO_HUA_T,YI_QI_QING_LI_,BIAO_ZHUN_HUA_,QIAN_MING_,RI_QI_,BEI_ZHU_,WEI_HU_XIANG_MU_,WEI_HU_ZHUANG_TAI,KAI_JI_SHI_JIAN_,GUAN_JI_SHI_JIAN_,WEI_HU_RI_QI_,SHI_FOU_KAI_JI_
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo">
+		INSERT INTO T_MJSBWHBYJLZBY
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{qingXiHuoHuaT,jdbcType=VARCHAR}, #{yiQiQingLi,jdbcType=VARCHAR}, #{biaoZhunHua,jdbcType=VARCHAR}, #{qianMing,jdbcType=VARCHAR}, #{riQi,jdbcType=VARCHAR}, #{beiZhu,jdbcType=VARCHAR}, #{weiHuXiangMu,jdbcType=VARCHAR}, #{weiHuZhuangTai,jdbcType=VARCHAR}, #{kaiJiShiJian,jdbcType=VARCHAR}, #{guanJiShiJian,jdbcType=VARCHAR}, #{weiHuRiQi,jdbcType=VARCHAR}, #{shiFouKaiJi,jdbcType=VARCHAR})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="MaintenanceRecordPo">
+		SELECT <include refid="columns"/> FROM T_MJSBWHBYJLZBY 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_MJSBWHBYJLZBY
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="MaintenanceRecordPo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="MaintenanceRecordPo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="MaintenanceRecordPo">
+		SELECT <include refid="columns"/> FROM T_MJSBWHBYJLZBY
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo">
+		UPDATE T_MJSBWHBYJLZBY SET
+		PARENT_ID_=#{parentId,jdbcType=VARCHAR},
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		QING_XI_HUO_HUA_T=#{qingXiHuoHuaT,jdbcType=VARCHAR},
+		YI_QI_QING_LI_=#{yiQiQingLi,jdbcType=VARCHAR},
+		BIAO_ZHUN_HUA_=#{biaoZhunHua,jdbcType=VARCHAR},
+		QIAN_MING_=#{qianMing,jdbcType=VARCHAR},
+		RI_QI_=#{riQi,jdbcType=VARCHAR},
+		BEI_ZHU_=#{beiZhu,jdbcType=VARCHAR},
+		WEI_HU_XIANG_MU_=#{weiHuXiangMu,jdbcType=VARCHAR},
+		WEI_HU_ZHUANG_TAI=#{weiHuZhuangTai,jdbcType=VARCHAR},
+		KAI_JI_SHI_JIAN_=#{kaiJiShiJian,jdbcType=VARCHAR},
+		GUAN_JI_SHI_JIAN_=#{guanJiShiJian,jdbcType=VARCHAR},
+		WEI_HU_RI_QI_=#{weiHuRiQi,jdbcType=VARCHAR},
+		SHI_FOU_KAI_JI_=#{shiFouKaiJi,jdbcType=VARCHAR}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_MJSBWHBYJLZBY 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	
+</mapper>

+ 138 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/RepairRecord.map.xml

@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="RepairRecordPo" type="com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="sheBeiId" column="SHE_BEI_ID_" jdbcType="VARCHAR"/>
+		<result property="sheBeiMingChen" column="SHE_BEI_MING_CHEN" jdbcType="VARCHAR"/>
+		<result property="sheBeiBianHao" column="SHE_BEI_BIAN_HAO_" jdbcType="VARCHAR"/>
+		<result property="guZhangShiJian" column="GU_ZHANG_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="weiXiuRiQi" column="WEI_XIU_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="weiXiuDanWei" column="WEI_XIU_DAN_WEI_" jdbcType="VARCHAR"/>
+		<result property="weiXiuFeiYong" column="WEI_XIU_FEI_YONG_" jdbcType="VARCHAR"/>
+		<result property="guZhangXianXia" column="GU_ZHANG_XIAN_XIA" jdbcType="BLOB"/>
+		<result property="guZhangYuanYin" column="GU_ZHANG_YUAN_YIN" jdbcType="BLOB"/>
+		<result property="xiuFuShuoMing" column="XIU_FU_SHUO_MING_" jdbcType="BLOB"/>
+		<result property="gengHuanBeiJia" column="GENG_HUAN_BEI_JIA" jdbcType="BLOB"/>
+		<result property="weiXiuYanZheng" column="WEI_XIU_YAN_ZHENG" jdbcType="VARCHAR"/>
+		<result property="yanZhengJieGuo" column="YAN_ZHENG_JIE_GUO" jdbcType="VARCHAR"/>
+		<result property="yanShouRenYuan" column="YAN_SHOU_REN_YUAN" jdbcType="VARCHAR"/>
+		<result property="fuJian" column="FU_JIAN_" jdbcType="BLOB"/>
+		<result property="diDian" column="DI_DIAN_" jdbcType="VARCHAR"/>
+		<result property="kuaiZhao" column="KUAI_ZHAO_" jdbcType="VARCHAR"/>
+		<result property="sheBei" column="SHE_BEI_" jdbcType="VARCHAR"/>
+		<result property="chaXunWangQi" column="CHA_XUN_WANG_QI_" jdbcType="VARCHAR"/>
+		<result property="wangGuan" column="WANG_GUAN_" jdbcType="VARCHAR"/>
+		<result property="yanZhengFuJian" column="YAN_ZHENG_FU_JIAN" jdbcType="BLOB"/>
+		<result property="xiuFuShiJian" column="XIU_FU_SHI_JIAN_" jdbcType="VARCHAR"/>
+		<result property="weiXiuRenYuan" column="WEI_XIU_REN_YUAN_" jdbcType="VARCHAR"/>
+		<result property="yuanSheBeiBian" column="YUAN_SHE_BEI_BIAN" jdbcType="VARCHAR"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,SHE_BEI_ID_,SHE_BEI_MING_CHEN,SHE_BEI_BIAN_HAO_,GU_ZHANG_SHI_JIAN,WEI_XIU_RI_QI_,WEI_XIU_DAN_WEI_,WEI_XIU_FEI_YONG_,GU_ZHANG_XIAN_XIA,GU_ZHANG_YUAN_YIN,XIU_FU_SHUO_MING_,GENG_HUAN_BEI_JIA,WEI_XIU_YAN_ZHENG,YAN_ZHENG_JIE_GUO,YAN_SHOU_REN_YUAN,FU_JIAN_,DI_DIAN_,KUAI_ZHAO_,SHE_BEI_,CHA_XUN_WANG_QI_,WANG_GUAN_,YAN_ZHENG_FU_JIAN,XIU_FU_SHI_JIAN_,WEI_XIU_REN_YUAN_,YUAN_SHE_BEI_BIAN
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo">
+		INSERT INTO T_SBWXJLB
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{sheBeiId,jdbcType=VARCHAR}, #{sheBeiMingChen,jdbcType=VARCHAR}, #{sheBeiBianHao,jdbcType=VARCHAR}, #{guZhangShiJian,jdbcType=VARCHAR}, #{weiXiuRiQi,jdbcType=VARCHAR}, #{weiXiuDanWei,jdbcType=VARCHAR}, #{weiXiuFeiYong,jdbcType=VARCHAR}, #{guZhangXianXia,jdbcType=BLOB}, #{guZhangYuanYin,jdbcType=BLOB}, #{xiuFuShuoMing,jdbcType=BLOB}, #{gengHuanBeiJia,jdbcType=BLOB}, #{weiXiuYanZheng,jdbcType=VARCHAR}, #{yanZhengJieGuo,jdbcType=VARCHAR}, #{yanShouRenYuan,jdbcType=VARCHAR}, #{fuJian,jdbcType=BLOB}, #{diDian,jdbcType=VARCHAR}, #{kuaiZhao,jdbcType=VARCHAR}, #{sheBei,jdbcType=VARCHAR}, #{chaXunWangQi,jdbcType=VARCHAR}, #{wangGuan,jdbcType=VARCHAR}, #{yanZhengFuJian,jdbcType=BLOB}, #{xiuFuShiJian,jdbcType=VARCHAR}, #{weiXiuRenYuan,jdbcType=VARCHAR}, #{yuanSheBeiBian,jdbcType=VARCHAR})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="RepairRecordPo">
+		SELECT <include refid="columns"/> FROM T_SBWXJLB 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_SBWXJLB
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="RepairRecordPo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="RepairRecordPo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="RepairRecordPo">
+		SELECT <include refid="columns"/> FROM T_SBWXJLB
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo">
+		UPDATE T_SBWXJLB SET
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		SHE_BEI_ID_=#{sheBeiId,jdbcType=VARCHAR},
+		SHE_BEI_MING_CHEN=#{sheBeiMingChen,jdbcType=VARCHAR},
+		SHE_BEI_BIAN_HAO_=#{sheBeiBianHao,jdbcType=VARCHAR},
+		GU_ZHANG_SHI_JIAN=#{guZhangShiJian,jdbcType=VARCHAR},
+		WEI_XIU_RI_QI_=#{weiXiuRiQi,jdbcType=VARCHAR},
+		WEI_XIU_DAN_WEI_=#{weiXiuDanWei,jdbcType=VARCHAR},
+		WEI_XIU_FEI_YONG_=#{weiXiuFeiYong,jdbcType=VARCHAR},
+		GU_ZHANG_XIAN_XIA=#{guZhangXianXia,jdbcType=BLOB},
+		GU_ZHANG_YUAN_YIN=#{guZhangYuanYin,jdbcType=BLOB},
+		XIU_FU_SHUO_MING_=#{xiuFuShuoMing,jdbcType=BLOB},
+		GENG_HUAN_BEI_JIA=#{gengHuanBeiJia,jdbcType=BLOB},
+		WEI_XIU_YAN_ZHENG=#{weiXiuYanZheng,jdbcType=VARCHAR},
+		YAN_ZHENG_JIE_GUO=#{yanZhengJieGuo,jdbcType=VARCHAR},
+		YAN_SHOU_REN_YUAN=#{yanShouRenYuan,jdbcType=VARCHAR},
+		FU_JIAN_=#{fuJian,jdbcType=BLOB},
+		DI_DIAN_=#{diDian,jdbcType=VARCHAR},
+		KUAI_ZHAO_=#{kuaiZhao,jdbcType=VARCHAR},
+		SHE_BEI_=#{sheBei,jdbcType=VARCHAR},
+		CHA_XUN_WANG_QI_=#{chaXunWangQi,jdbcType=VARCHAR},
+		WANG_GUAN_=#{wangGuan,jdbcType=VARCHAR},
+		YAN_ZHENG_FU_JIAN=#{yanZhengFuJian,jdbcType=BLOB},
+		XIU_FU_SHI_JIAN_=#{xiuFuShiJian,jdbcType=VARCHAR},
+		WEI_XIU_REN_YUAN_=#{weiXiuRenYuan,jdbcType=VARCHAR},
+		YUAN_SHE_BEI_BIAN=#{yuanSheBeiBian,jdbcType=VARCHAR}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_SBWXJLB 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	
+</mapper>

+ 134 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/ScrappedRecord.map.xml

@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo">
+	<!--<cache type="net.oschina.j2cache.mybatis.J2CacheAdapter"/>-->
+	<resultMap id="ScrappedRecordPo" type="com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo">
+		<id property="id" column="ID_" jdbcType="VARCHAR"/>
+		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
+		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
+		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
+		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
+		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
+		<result property="shiFouGuoShen" column="SHI_FOU_GUO_SHEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiRen" column="BIAN_ZHI_REN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiBuMen" column="BIAN_ZHI_BU_MEN_" jdbcType="VARCHAR"/>
+		<result property="bianZhiShiJian" column="BIAN_ZHI_SHI_JIAN" jdbcType="VARCHAR"/>
+		<result property="sheBeiMingChen" column="SHE_BEI_MING_CHEN" jdbcType="VARCHAR"/>
+		<result property="sheBeiBianHao" column="SHE_BEI_BIAN_HAO_" jdbcType="VARCHAR"/>
+		<result property="chuLiLeiXing" column="CHU_LI_LEI_XING_" jdbcType="VARCHAR"/>
+		<result property="ziChanBianHao" column="ZI_CHAN_BIAN_HAO_" jdbcType="VARCHAR"/>
+		<result property="yuanSheBeiBian" column="YUAN_SHE_BEI_BIAN" jdbcType="VARCHAR"/>
+		<result property="jieShouRiQi" column="JIE_SHOU_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="changJiaPinPai" column="CHANG_JIA_PIN_PAI" jdbcType="VARCHAR"/>
+		<result property="guiGeXingHao" column="GUI_GE_XING_HAO_" jdbcType="VARCHAR"/>
+		<result property="baoFeiRiQi" column="BAO_FEI_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="shenQingYuanYi" column="SHEN_QING_YUAN_YI" jdbcType="BLOB"/>
+		<result property="shengWuWeiHai" column="SHENG_WU_WEI_HAI_" jdbcType="VARCHAR"/>
+		<result property="baoFeiChuLiSh" column="BAO_FEI_CHU_LI_SH" jdbcType="VARCHAR"/>
+		<result property="jiaoJieRen" column="JIAO_JIE_REN_" jdbcType="VARCHAR"/>
+		<result property="jiaoJieRiQi" column="JIAO_JIE_RI_QI_" jdbcType="VARCHAR"/>
+		<result property="fuJian" column="FU_JIAN_" jdbcType="BLOB"/>
+		<result property="sheBeiId" column="SHE_BEI_ID_" jdbcType="VARCHAR"/>
+		<result property="diDian" column="DI_DIAN_" jdbcType="VARCHAR"/>
+		<result property="kuaiZhao" column="KUAI_ZHAO_" jdbcType="VARCHAR"/>
+		<result property="chaXunWangQi" column="CHA_XUN_WANG_QI_" jdbcType="VARCHAR"/>
+		<result property="acceptanceStatus" column="ACCEPTANCE_STATUS" jdbcType="VARCHAR"/>
+		<result property="quWuChuLi" column="QU_WU_CHU_LI_" jdbcType="VARCHAR"/>
+		<result property="quWuXiangQing" column="QU_WU_XIANG_QING_" jdbcType="BLOB"/>
+	</resultMap>
+	
+	<sql id="columns">
+		ID_,TENANT_ID_,IP_,CREATE_BY_,CREATE_TIME_,UPDATE_BY_,UPDATE_TIME_,SHI_FOU_GUO_SHEN_,BIAN_ZHI_REN_,BIAN_ZHI_BU_MEN_,BIAN_ZHI_SHI_JIAN,SHE_BEI_MING_CHEN,SHE_BEI_BIAN_HAO_,CHU_LI_LEI_XING_,ZI_CHAN_BIAN_HAO_,YUAN_SHE_BEI_BIAN,JIE_SHOU_RI_QI_,CHANG_JIA_PIN_PAI,GUI_GE_XING_HAO_,BAO_FEI_RI_QI_,SHEN_QING_YUAN_YI,SHENG_WU_WEI_HAI_,BAO_FEI_CHU_LI_SH,JIAO_JIE_REN_,JIAO_JIE_RI_QI_,FU_JIAN_,SHE_BEI_ID_,DI_DIAN_,KUAI_ZHAO_,CHA_XUN_WANG_QI_,ACCEPTANCE_STATUS,QU_WU_CHU_LI_,QU_WU_XIANG_QING_
+	</sql>
+	
+	<insert id="create" parameterType="com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo">
+		INSERT INTO T_SBTYBFJLB
+		(<include refid="columns"/>)
+		VALUES 
+		(#{id,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shiFouGuoShen,jdbcType=VARCHAR}, #{bianZhiRen,jdbcType=VARCHAR}, #{bianZhiBuMen,jdbcType=VARCHAR}, #{bianZhiShiJian,jdbcType=VARCHAR}, #{sheBeiMingChen,jdbcType=VARCHAR}, #{sheBeiBianHao,jdbcType=VARCHAR}, #{chuLiLeiXing,jdbcType=VARCHAR}, #{ziChanBianHao,jdbcType=VARCHAR}, #{yuanSheBeiBian,jdbcType=VARCHAR}, #{jieShouRiQi,jdbcType=VARCHAR}, #{changJiaPinPai,jdbcType=VARCHAR}, #{guiGeXingHao,jdbcType=VARCHAR}, #{baoFeiRiQi,jdbcType=VARCHAR}, #{shenQingYuanYi,jdbcType=BLOB}, #{shengWuWeiHai,jdbcType=VARCHAR}, #{baoFeiChuLiSh,jdbcType=VARCHAR}, #{jiaoJieRen,jdbcType=VARCHAR}, #{jiaoJieRiQi,jdbcType=VARCHAR}, #{fuJian,jdbcType=BLOB}, #{sheBeiId,jdbcType=VARCHAR}, #{diDian,jdbcType=VARCHAR}, #{kuaiZhao,jdbcType=VARCHAR}, #{chaXunWangQi,jdbcType=VARCHAR}, #{acceptanceStatus,jdbcType=VARCHAR}, #{quWuChuLi,jdbcType=VARCHAR}, #{quWuXiangQing,jdbcType=BLOB})
+	</insert>
+	
+	<select id="get" parameterType="java.lang.String" resultMap="ScrappedRecordPo">
+		SELECT <include refid="columns"/> FROM T_SBTYBFJLB 
+		WHERE 
+		ID_=#{id}
+	</select>
+	
+	
+	<sql id="querySql" >
+		SELECT <include refid="columns"/> FROM T_SBTYBFJLB
+		<where>
+			<if test="@o.Ognl@isNotEmpty(whereSql)">
+				${whereSql}
+			</if>
+		</where>
+		<if test="@o.Ognl@isNotEmpty(orderBySql)">
+			ORDER BY ${orderBySql}
+		</if>
+		<if test="@o.Ognl@isEmpty(orderBySql)">
+			ORDER BY ID_ DESC
+		</if>
+	</sql>
+	
+	<select id="query" parameterType="java.util.Map" resultMap="ScrappedRecordPo">
+		<include refid="querySql"/>
+	</select>
+	
+	<select id="queryIds" parameterType="java.util.Map" resultMap="ScrappedRecordPo">
+		SELECT ID_ FROM (<include refid="querySql"/>) T
+	</select>
+	
+	<select id="findByIds" resultMap="ScrappedRecordPo">
+		SELECT <include refid="columns"/> FROM T_SBTYBFJLB
+			WHERE ID_ in 
+			<foreach item="id" index="index" collection="ids" open="(" separator="," close=")">  
+				#{id}  
+			</foreach>  		
+			ORDER BY ID_ DESC			
+	</select>	
+	
+	<update id="update" parameterType="com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo">
+		UPDATE T_SBTYBFJLB SET
+		TENANT_ID_=#{tenantId,jdbcType=VARCHAR},
+		IP_=#{ip,jdbcType=VARCHAR},
+		UPDATE_BY_=#{updateBy,jdbcType=VARCHAR},
+		UPDATE_TIME_=#{updateTime,jdbcType=TIMESTAMP},
+		SHI_FOU_GUO_SHEN_=#{shiFouGuoShen,jdbcType=VARCHAR},
+		BIAN_ZHI_REN_=#{bianZhiRen,jdbcType=VARCHAR},
+		BIAN_ZHI_BU_MEN_=#{bianZhiBuMen,jdbcType=VARCHAR},
+		BIAN_ZHI_SHI_JIAN=#{bianZhiShiJian,jdbcType=VARCHAR},
+		SHE_BEI_MING_CHEN=#{sheBeiMingChen,jdbcType=VARCHAR},
+		SHE_BEI_BIAN_HAO_=#{sheBeiBianHao,jdbcType=VARCHAR},
+		CHU_LI_LEI_XING_=#{chuLiLeiXing,jdbcType=VARCHAR},
+		ZI_CHAN_BIAN_HAO_=#{ziChanBianHao,jdbcType=VARCHAR},
+		YUAN_SHE_BEI_BIAN=#{yuanSheBeiBian,jdbcType=VARCHAR},
+		JIE_SHOU_RI_QI_=#{jieShouRiQi,jdbcType=VARCHAR},
+		CHANG_JIA_PIN_PAI=#{changJiaPinPai,jdbcType=VARCHAR},
+		GUI_GE_XING_HAO_=#{guiGeXingHao,jdbcType=VARCHAR},
+		BAO_FEI_RI_QI_=#{baoFeiRiQi,jdbcType=VARCHAR},
+		SHEN_QING_YUAN_YI=#{shenQingYuanYi,jdbcType=BLOB},
+		SHENG_WU_WEI_HAI_=#{shengWuWeiHai,jdbcType=VARCHAR},
+		BAO_FEI_CHU_LI_SH=#{baoFeiChuLiSh,jdbcType=VARCHAR},
+		JIAO_JIE_REN_=#{jiaoJieRen,jdbcType=VARCHAR},
+		JIAO_JIE_RI_QI_=#{jiaoJieRiQi,jdbcType=VARCHAR},
+		FU_JIAN_=#{fuJian,jdbcType=BLOB},
+		SHE_BEI_ID_=#{sheBeiId,jdbcType=VARCHAR},
+		DI_DIAN_=#{diDian,jdbcType=VARCHAR},
+		KUAI_ZHAO_=#{kuaiZhao,jdbcType=VARCHAR},
+		CHA_XUN_WANG_QI_=#{chaXunWangQi,jdbcType=VARCHAR},
+		ACCEPTANCE_STATUS=#{acceptanceStatus,jdbcType=VARCHAR},
+		QU_WU_CHU_LI_=#{quWuChuLi,jdbcType=VARCHAR},
+		QU_WU_XIANG_QING_=#{quWuXiangQing,jdbcType=BLOB}
+		WHERE
+		ID_=#{id}
+	</update>
+	
+	<delete id="remove" parameterType="java.lang.String">
+		DELETE FROM T_SBTYBFJLB 
+		WHERE
+		ID_=#{id}
+	</delete>
+	
+	
+</mapper>

+ 25 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/EquipmentBaseTest.java

@@ -0,0 +1,25 @@
+package com.lc.ibps.components;
+
+import javax.annotation.Resource;
+
+import org.springframework.test.context.ContextConfiguration;
+
+import com.lc.ibps.base.framework.test.BaseTestCase;
+import com.lc.ibps.api.base.id.IdGenerator;
+
+/**
+ * 测试基类。</br>
+ * 模块其下的测试类均继承该子类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:07
+ *</pre>
+ */
+@ContextConfiguration({"classpath:conf/components-test.xml"})
+public class EquipmentBaseTest extends BaseTestCase{
+	
+	@Resource
+    protected IdGenerator idGenerator;
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/AccessoriesDeviceTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.AccessoriesDevice;
+import com.lc.ibps.components.equipment.repository.AccessoriesDeviceRepository;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 附属设备及配件表 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:01
+ *</pre>
+ */
+public class AccessoriesDeviceTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private AccessoriesDeviceRepository accessoriesDeviceRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		AccessoriesDevice accessoriesDevice = accessoriesDeviceRepository.newInstance();
+		
+		AccessoriesDevicePo accessoriesDevicePo=new AccessoriesDevicePo();
+		accessoriesDevicePo.setId(idGenerator.getId());
+		
+		accessoriesDevice.setData(accessoriesDevicePo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		accessoriesDevice.create();	
+		ids.add(accessoriesDevice.getId());
+						
+		AccessoriesDevice accessoriesDevice2 = accessoriesDeviceRepository.newInstance();
+		accessoriesDevicePo.setId(idGenerator.getId());
+		accessoriesDevice2.setData(accessoriesDevicePo);
+		
+		accessoriesDevice2.create();
+		ids.add(accessoriesDevice2.getId());
+		
+		List<AccessoriesDevicePo> accessoriesDevicePoList = accessoriesDeviceRepository.findByIds(ids);
+		Assert.assertTrue(accessoriesDevicePoList.size()>=2);
+		
+		List<AccessoriesDevicePo>accessoriesDevice1 = accessoriesDeviceRepository.findAll();
+		Assert.assertTrue(accessoriesDevice1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/CalibrationCheckRecordTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.CalibrationCheckRecord;
+import com.lc.ibps.components.equipment.repository.CalibrationCheckRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 检定校准实施记录表 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:56
+ *</pre>
+ */
+public class CalibrationCheckRecordTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private CalibrationCheckRecordRepository calibrationCheckRecordRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		CalibrationCheckRecord calibrationCheckRecord = calibrationCheckRecordRepository.newInstance();
+		
+		CalibrationCheckRecordPo calibrationCheckRecordPo=new CalibrationCheckRecordPo();
+		calibrationCheckRecordPo.setId(idGenerator.getId());
+		
+		calibrationCheckRecord.setData(calibrationCheckRecordPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		calibrationCheckRecord.create();	
+		ids.add(calibrationCheckRecord.getId());
+						
+		CalibrationCheckRecord calibrationCheckRecord2 = calibrationCheckRecordRepository.newInstance();
+		calibrationCheckRecordPo.setId(idGenerator.getId());
+		calibrationCheckRecord2.setData(calibrationCheckRecordPo);
+		
+		calibrationCheckRecord2.create();
+		ids.add(calibrationCheckRecord2.getId());
+		
+		List<CalibrationCheckRecordPo> calibrationCheckRecordPoList = calibrationCheckRecordRepository.findByIds(ids);
+		Assert.assertTrue(calibrationCheckRecordPoList.size()>=2);
+		
+		List<CalibrationCheckRecordPo>calibrationCheckRecord1 = calibrationCheckRecordRepository.findAll();
+		Assert.assertTrue(calibrationCheckRecord1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/EquipmentCardTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.EquipmentCard;
+import com.lc.ibps.components.equipment.repository.EquipmentCardRepository;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备档案卡 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:55
+ *</pre>
+ */
+public class EquipmentCardTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private EquipmentCardRepository equipmentCardRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		EquipmentCard equipmentCard = equipmentCardRepository.newInstance();
+		
+		EquipmentCardPo equipmentCardPo=new EquipmentCardPo();
+		equipmentCardPo.setId(idGenerator.getId());
+		
+		equipmentCard.setData(equipmentCardPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		equipmentCard.create();	
+		ids.add(equipmentCard.getId());
+						
+		EquipmentCard equipmentCard2 = equipmentCardRepository.newInstance();
+		equipmentCardPo.setId(idGenerator.getId());
+		equipmentCard2.setData(equipmentCardPo);
+		
+		equipmentCard2.create();
+		ids.add(equipmentCard2.getId());
+		
+		List<EquipmentCardPo> equipmentCardPoList = equipmentCardRepository.findByIds(ids);
+		Assert.assertTrue(equipmentCardPoList.size()>=2);
+		
+		List<EquipmentCardPo>equipmentCard1 = equipmentCardRepository.findAll();
+		Assert.assertTrue(equipmentCard1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/MaintenanceItemTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.MaintenanceItem;
+import com.lc.ibps.components.equipment.repository.MaintenanceItemRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 维护周期及项目 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:07
+ *</pre>
+ */
+public class MaintenanceItemTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private MaintenanceItemRepository maintenanceItemRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		MaintenanceItem maintenanceItem = maintenanceItemRepository.newInstance();
+		
+		MaintenanceItemPo maintenanceItemPo=new MaintenanceItemPo();
+		maintenanceItemPo.setId(idGenerator.getId());
+		
+		maintenanceItem.setData(maintenanceItemPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		maintenanceItem.create();	
+		ids.add(maintenanceItem.getId());
+						
+		MaintenanceItem maintenanceItem2 = maintenanceItemRepository.newInstance();
+		maintenanceItemPo.setId(idGenerator.getId());
+		maintenanceItem2.setData(maintenanceItemPo);
+		
+		maintenanceItem2.create();
+		ids.add(maintenanceItem2.getId());
+		
+		List<MaintenanceItemPo> maintenanceItemPoList = maintenanceItemRepository.findByIds(ids);
+		Assert.assertTrue(maintenanceItemPoList.size()>=2);
+		
+		List<MaintenanceItemPo>maintenanceItem1 = maintenanceItemRepository.findAll();
+		Assert.assertTrue(maintenanceItem1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/MaintenanceRecordTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.MaintenanceRecord;
+import com.lc.ibps.components.equipment.repository.MaintenanceRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备维护记录表 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:05
+ *</pre>
+ */
+public class MaintenanceRecordTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private MaintenanceRecordRepository maintenanceRecordRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		MaintenanceRecord maintenanceRecord = maintenanceRecordRepository.newInstance();
+		
+		MaintenanceRecordPo maintenanceRecordPo=new MaintenanceRecordPo();
+		maintenanceRecordPo.setId(idGenerator.getId());
+		
+		maintenanceRecord.setData(maintenanceRecordPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		maintenanceRecord.create();	
+		ids.add(maintenanceRecord.getId());
+						
+		MaintenanceRecord maintenanceRecord2 = maintenanceRecordRepository.newInstance();
+		maintenanceRecordPo.setId(idGenerator.getId());
+		maintenanceRecord2.setData(maintenanceRecordPo);
+		
+		maintenanceRecord2.create();
+		ids.add(maintenanceRecord2.getId());
+		
+		List<MaintenanceRecordPo> maintenanceRecordPoList = maintenanceRecordRepository.findByIds(ids);
+		Assert.assertTrue(maintenanceRecordPoList.size()>=2);
+		
+		List<MaintenanceRecordPo>maintenanceRecord1 = maintenanceRecordRepository.findAll();
+		Assert.assertTrue(maintenanceRecord1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/RepairRecordTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.RepairRecord;
+import com.lc.ibps.components.equipment.repository.RepairRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备维修记录表 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:49:00
+ *</pre>
+ */
+public class RepairRecordTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private RepairRecordRepository repairRecordRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		RepairRecord repairRecord = repairRecordRepository.newInstance();
+		
+		RepairRecordPo repairRecordPo=new RepairRecordPo();
+		repairRecordPo.setId(idGenerator.getId());
+		
+		repairRecord.setData(repairRecordPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		repairRecord.create();	
+		ids.add(repairRecord.getId());
+						
+		RepairRecord repairRecord2 = repairRecordRepository.newInstance();
+		repairRecordPo.setId(idGenerator.getId());
+		repairRecord2.setData(repairRecordPo);
+		
+		repairRecord2.create();
+		ids.add(repairRecord2.getId());
+		
+		List<RepairRecordPo> repairRecordPoList = repairRecordRepository.findByIds(ids);
+		Assert.assertTrue(repairRecordPoList.size()>=2);
+		
+		List<RepairRecordPo>repairRecord1 = repairRecordRepository.findAll();
+		Assert.assertTrue(repairRecord1.size()>=2);
+
+	}
+}

+ 60 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/domain/ScrappedRecordTest.java

@@ -0,0 +1,60 @@
+package com.lc.ibps.components.equipment.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.domain.ScrappedRecord;
+import com.lc.ibps.components.equipment.repository.ScrappedRecordRepository;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备停用报废记录表 领域对象实体单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:11
+ *</pre>
+ */
+public class ScrappedRecordTest extends EquipmentBaseTest{
+	 
+	@Resource
+	private ScrappedRecordRepository scrappedRecordRepository;
+	
+	@Test
+	@Rollback(true)
+	public void create(){				
+		ScrappedRecord scrappedRecord = scrappedRecordRepository.newInstance();
+		
+		ScrappedRecordPo scrappedRecordPo=new ScrappedRecordPo();
+		scrappedRecordPo.setId(idGenerator.getId());
+		
+		scrappedRecord.setData(scrappedRecordPo);
+		
+		List<String> ids = new ArrayList<String>();
+		
+		scrappedRecord.create();	
+		ids.add(scrappedRecord.getId());
+						
+		ScrappedRecord scrappedRecord2 = scrappedRecordRepository.newInstance();
+		scrappedRecordPo.setId(idGenerator.getId());
+		scrappedRecord2.setData(scrappedRecordPo);
+		
+		scrappedRecord2.create();
+		ids.add(scrappedRecord2.getId());
+		
+		List<ScrappedRecordPo> scrappedRecordPoList = scrappedRecordRepository.findByIds(ids);
+		Assert.assertTrue(scrappedRecordPoList.size()>=2);
+		
+		List<ScrappedRecordPo>scrappedRecord1 = scrappedRecordRepository.findAll();
+		Assert.assertTrue(scrappedRecord1.size()>=2);
+
+	}
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/AccessoriesDeviceDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceDao;
+import com.lc.ibps.components.equipment.persistence.dao.AccessoriesDeviceQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.AccessoriesDevicePo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 附属设备及配件表 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:59
+ *</pre>
+ */
+public class AccessoriesDeviceDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private AccessoriesDeviceDao accessoriesDeviceDao;
+	
+	@Resource
+	private AccessoriesDeviceQueryDao accessoriesDeviceQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		AccessoriesDevicePo accessoriesDevicePo=new AccessoriesDevicePo();
+		accessoriesDevicePo.setId(idGenerator.getId());
+		
+		//创建一实体
+		accessoriesDeviceDao.create(accessoriesDevicePo);
+        Assert.assertNotNull(accessoriesDevicePo.getId());
+        logger.debug("accessoriesDevicePo1:"+ accessoriesDevicePo.getId());
+		//获取一实体
+		AccessoriesDevicePo accessoriesDevicePo2=accessoriesDeviceQueryDao.get(accessoriesDevicePo.getId());
+		Assert.assertNotNull(accessoriesDevicePo2);
+		logger.debug("accessoriesDevicePo2:" + accessoriesDevicePo2.toString());
+		//更新一实体
+		accessoriesDeviceDao.update(accessoriesDevicePo2);
+		
+		AccessoriesDevicePo accessoriesDevicePo3=accessoriesDeviceQueryDao.get(accessoriesDevicePo.getId());
+		Assert.assertNotNull(accessoriesDevicePo3);
+		logger.debug("accessoriesDevicePo3:"+accessoriesDevicePo3.toString());
+		//删除一实体
+		//accessoriesDeviceDao.remove(accessoriesDevicePo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/CalibrationCheckRecordDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.CalibrationCheckRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.CalibrationCheckRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 检定校准实施记录表 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:54
+ *</pre>
+ */
+public class CalibrationCheckRecordDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private CalibrationCheckRecordDao calibrationCheckRecordDao;
+	
+	@Resource
+	private CalibrationCheckRecordQueryDao calibrationCheckRecordQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		CalibrationCheckRecordPo calibrationCheckRecordPo=new CalibrationCheckRecordPo();
+		calibrationCheckRecordPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		calibrationCheckRecordDao.create(calibrationCheckRecordPo);
+        Assert.assertNotNull(calibrationCheckRecordPo.getId());
+        logger.debug("calibrationCheckRecordPo1:"+ calibrationCheckRecordPo.getId());
+		//获取一实体
+		CalibrationCheckRecordPo calibrationCheckRecordPo2=calibrationCheckRecordQueryDao.get(calibrationCheckRecordPo.getId());
+		Assert.assertNotNull(calibrationCheckRecordPo2);
+		logger.debug("calibrationCheckRecordPo2:" + calibrationCheckRecordPo2.toString());
+		//更新一实体
+		calibrationCheckRecordDao.update(calibrationCheckRecordPo2);
+		
+		CalibrationCheckRecordPo calibrationCheckRecordPo3=calibrationCheckRecordQueryDao.get(calibrationCheckRecordPo.getId());
+		Assert.assertNotNull(calibrationCheckRecordPo3);
+		logger.debug("calibrationCheckRecordPo3:"+calibrationCheckRecordPo3.toString());
+		//删除一实体
+		//calibrationCheckRecordDao.remove(calibrationCheckRecordPo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/EquipmentCardDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardDao;
+import com.lc.ibps.components.equipment.persistence.dao.EquipmentCardQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.EquipmentCardPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备档案卡 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:18:53
+ *</pre>
+ */
+public class EquipmentCardDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private EquipmentCardDao equipmentCardDao;
+	
+	@Resource
+	private EquipmentCardQueryDao equipmentCardQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		EquipmentCardPo equipmentCardPo=new EquipmentCardPo();
+		equipmentCardPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		equipmentCardDao.create(equipmentCardPo);
+        Assert.assertNotNull(equipmentCardPo.getId());
+        logger.debug("equipmentCardPo1:"+ equipmentCardPo.getId());
+		//获取一实体
+		EquipmentCardPo equipmentCardPo2=equipmentCardQueryDao.get(equipmentCardPo.getId());
+		Assert.assertNotNull(equipmentCardPo2);
+		logger.debug("equipmentCardPo2:" + equipmentCardPo2.toString());
+		//更新一实体
+		equipmentCardDao.update(equipmentCardPo2);
+		
+		EquipmentCardPo equipmentCardPo3=equipmentCardQueryDao.get(equipmentCardPo.getId());
+		Assert.assertNotNull(equipmentCardPo3);
+		logger.debug("equipmentCardPo3:"+equipmentCardPo3.toString());
+		//删除一实体
+		//equipmentCardDao.remove(equipmentCardPo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceItemDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceItemQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceItemPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 维护周期及项目 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 15:19:06
+ *</pre>
+ */
+public class MaintenanceItemDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private MaintenanceItemDao maintenanceItemDao;
+	
+	@Resource
+	private MaintenanceItemQueryDao maintenanceItemQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		MaintenanceItemPo maintenanceItemPo=new MaintenanceItemPo();
+		maintenanceItemPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		maintenanceItemDao.create(maintenanceItemPo);
+        Assert.assertNotNull(maintenanceItemPo.getId());
+        logger.debug("maintenanceItemPo1:"+ maintenanceItemPo.getId());
+		//获取一实体
+		MaintenanceItemPo maintenanceItemPo2=maintenanceItemQueryDao.get(maintenanceItemPo.getId());
+		Assert.assertNotNull(maintenanceItemPo2);
+		logger.debug("maintenanceItemPo2:" + maintenanceItemPo2.toString());
+		//更新一实体
+		maintenanceItemDao.update(maintenanceItemPo2);
+		
+		MaintenanceItemPo maintenanceItemPo3=maintenanceItemQueryDao.get(maintenanceItemPo.getId());
+		Assert.assertNotNull(maintenanceItemPo3);
+		logger.debug("maintenanceItemPo3:"+maintenanceItemPo3.toString());
+		//删除一实体
+		//maintenanceItemDao.remove(maintenanceItemPo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/MaintenanceRecordDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.MaintenanceRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.MaintenanceRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备维护记录表 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:50:02
+ *</pre>
+ */
+public class MaintenanceRecordDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private MaintenanceRecordDao maintenanceRecordDao;
+	
+	@Resource
+	private MaintenanceRecordQueryDao maintenanceRecordQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		MaintenanceRecordPo maintenanceRecordPo=new MaintenanceRecordPo();
+		maintenanceRecordPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		maintenanceRecordDao.create(maintenanceRecordPo);
+        Assert.assertNotNull(maintenanceRecordPo.getId());
+        logger.debug("maintenanceRecordPo1:"+ maintenanceRecordPo.getId());
+		//获取一实体
+		MaintenanceRecordPo maintenanceRecordPo2=maintenanceRecordQueryDao.get(maintenanceRecordPo.getId());
+		Assert.assertNotNull(maintenanceRecordPo2);
+		logger.debug("maintenanceRecordPo2:" + maintenanceRecordPo2.toString());
+		//更新一实体
+		maintenanceRecordDao.update(maintenanceRecordPo2);
+		
+		MaintenanceRecordPo maintenanceRecordPo3=maintenanceRecordQueryDao.get(maintenanceRecordPo.getId());
+		Assert.assertNotNull(maintenanceRecordPo3);
+		logger.debug("maintenanceRecordPo3:"+maintenanceRecordPo3.toString());
+		//删除一实体
+		//maintenanceRecordDao.remove(maintenanceRecordPo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/RepairRecordDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.RepairRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.RepairRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备维修记录表 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:58
+ *</pre>
+ */
+public class RepairRecordDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private RepairRecordDao repairRecordDao;
+	
+	@Resource
+	private RepairRecordQueryDao repairRecordQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		RepairRecordPo repairRecordPo=new RepairRecordPo();
+		repairRecordPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		repairRecordDao.create(repairRecordPo);
+        Assert.assertNotNull(repairRecordPo.getId());
+        logger.debug("repairRecordPo1:"+ repairRecordPo.getId());
+		//获取一实体
+		RepairRecordPo repairRecordPo2=repairRecordQueryDao.get(repairRecordPo.getId());
+		Assert.assertNotNull(repairRecordPo2);
+		logger.debug("repairRecordPo2:" + repairRecordPo2.toString());
+		//更新一实体
+		repairRecordDao.update(repairRecordPo2);
+		
+		RepairRecordPo repairRecordPo3=repairRecordQueryDao.get(repairRecordPo.getId());
+		Assert.assertNotNull(repairRecordPo3);
+		logger.debug("repairRecordPo3:"+repairRecordPo3.toString());
+		//删除一实体
+		//repairRecordDao.remove(repairRecordPo.getId());
+	}
+	
+}

+ 55 - 0
ibps-provider-root/modules/provider-business/src/test/java/com/lc/ibps/components/equipment/persistence/dao/ScrappedRecordDaoTest.java

@@ -0,0 +1,55 @@
+package com.lc.ibps.components.equipment.persistence.dao;
+
+import javax.annotation.Resource;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.test.annotation.Rollback;
+
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordDao;
+import com.lc.ibps.components.equipment.persistence.dao.ScrappedRecordQueryDao;
+import com.lc.ibps.components.equipment.persistence.entity.ScrappedRecordPo;
+import com.lc.ibps.components.EquipmentBaseTest;
+
+/**
+ * 设备停用报废记录表 dao单元测试类
+ *
+ *<pre> 
+ * 开发公司:深圳市金源信通科技有限公司
+ * 开发人员:codegen
+ * 创建时间:2024-08-12 16:48:10
+ *</pre>
+ */
+public class ScrappedRecordDaoTest extends EquipmentBaseTest{
+
+	@Resource
+	private ScrappedRecordDao scrappedRecordDao;
+	
+	@Resource
+	private ScrappedRecordQueryDao scrappedRecordQueryDao;
+		
+	@Test
+	@Rollback(true)
+	public void testCrud(){
+		ScrappedRecordPo scrappedRecordPo=new ScrappedRecordPo();
+		scrappedRecordPo.setId(idGenerator.getId());
+		
+		//创建一实体
+		scrappedRecordDao.create(scrappedRecordPo);
+        Assert.assertNotNull(scrappedRecordPo.getId());
+        logger.debug("scrappedRecordPo1:"+ scrappedRecordPo.getId());
+		//获取一实体
+		ScrappedRecordPo scrappedRecordPo2=scrappedRecordQueryDao.get(scrappedRecordPo.getId());
+		Assert.assertNotNull(scrappedRecordPo2);
+		logger.debug("scrappedRecordPo2:" + scrappedRecordPo2.toString());
+		//更新一实体
+		scrappedRecordDao.update(scrappedRecordPo2);
+		
+		ScrappedRecordPo scrappedRecordPo3=scrappedRecordQueryDao.get(scrappedRecordPo.getId());
+		Assert.assertNotNull(scrappedRecordPo3);
+		logger.debug("scrappedRecordPo3:"+scrappedRecordPo3.toString());
+		//删除一实体
+		//scrappedRecordDao.remove(scrappedRecordPo.getId());
+	}
+	
+}

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff