| | |
| | | List<EquipmentMaintenancePlanDetail> details = new ArrayList<>(); |
| | | for(ABCAssessment abcAssessment:abcAssessments){ |
| | | Equipment equipment = equipmentService.getById(abcAssessment.getEquipmentId()); |
| | | String oldStandard = equipment.getEquipmentImportanceId(); |
| | | String oldStandard = abcAssessment.getOldStandard(); |
| | | String newStandard = abcAssessment.getFinalStandard(); |
| | | LocalDate currentDate = LocalDate.now(); |
| | | |
| | |
| | | @TableField(exist = false) |
| | | @Dict(dicCode = "ABC-standard-result") |
| | | private String equipmentImportanceId; |
| | | @Dict(dicCode = "ABC-standard-result") |
| | | private String oldStandard; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | ALTER TABLE [dbo].[mom_eam_ABC_assessment] ADD [old_standard] nvarchar(16) NULL |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'èç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'mom_eam_ABC_assessment', |
| | | 'COLUMN', N'old_standard' |