|
@@ -49,12 +49,11 @@ public class ImporterEntityServiceImpl extends ServiceImpl<ImporterEntityMapper,
|
|
|
|
|
|
@Override
|
|
|
public ImporterEntityVO getVOByEntityId(Long entityId) {
|
|
|
- ImporterEntityVO entityVO = this.getBaseMapper().getVOByEntityId(entityId);
|
|
|
- if (entityVO != null) {
|
|
|
- entityVO.setPeriodToBeApplied(DateUtils.transPeriodUnit(entityVO.getPeriodToBeApplied()));
|
|
|
- entityVO.setTradingLife(DateUtils.transPeriodUnit(entityVO.getTradingLife()));
|
|
|
- }
|
|
|
- return entityVO;
|
|
|
+ // if (entityVO != null) {
|
|
|
+// entityVO.setPeriodToBeApplied(DateUtils.transPeriodUnit(entityVO.getPeriodToBeApplied()));
|
|
|
+// entityVO.setTradingLife(DateUtils.transPeriodUnit(entityVO.getTradingLife()));
|
|
|
+// }
|
|
|
+ return this.getBaseMapper().getVOByEntityId(entityId);
|
|
|
}
|
|
|
|
|
|
@Override
|