|
|
|
@ -3456,6 +3456,8 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl<BasicdataPriceMap
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
rowMessage.append("生效时间格式错误,例:2020-01-01;"); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
rowMessage.append("生效时间不能为空"); |
|
|
|
|
} |
|
|
|
|
if (StrUtil.isNotEmpty(priceExcel.getExpiryTime())) { |
|
|
|
|
// 校验是否为日期格式
|
|
|
|
@ -3464,6 +3466,8 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl<BasicdataPriceMap
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
rowMessage.append("到期时间格式错误,例:2020-01-01;"); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
rowMessage.append("到期时间不能为空"); |
|
|
|
|
} |
|
|
|
|
if (!ObjectUtil.isAllEmpty(startTime, endTime)) { |
|
|
|
|
// 校验时间大小关系
|
|
|
|
|