瀏覽代碼

bugFix 解决出厂日期不正确的问题

xiahan 1 年之前
父節點
當前提交
5089a1de7f

+ 1 - 1
cx-safe-check/cx-save-check-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/AspSafeAttachmentsServiceImpl.java

@@ -258,7 +258,7 @@ public class AspSafeAttachmentsServiceImpl extends ServiceImpl<AspSafeAttachment
         aspSafeAttachmentsDo.setMainid(checkAreaMap.get(vo.getTreeName()));
         aspSafeAttachmentsDo.setUseshopid(orgMap.get(vo.getUseshop()));
         // 时间转换
-        if (StringUtils.isBlank(vo.getManufacturestr())) {
+        if (StringUtils.isNotBlank(vo.getManufacturestr())) {
             aspSafeAttachmentsDo.setManufacturedate(dateFormatValidation(vo.getManufacturestr()));
         }