|
@@ -49,12 +49,11 @@ public class ImporterEntityServiceImpl extends ServiceImpl<ImporterEntityMapper,
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public ImporterEntityVO getVOByEntityId(Long entityId) {
|
|
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
|
|
@Override
|