zhijiezhao 2 年 前
コミット
61365f6339

+ 1 - 1
src/main/java/com/caimei/service/auth/impl/AuthProductServiceImpl.java

@@ -645,7 +645,7 @@ public class AuthProductServiceImpl implements AuthProductService {
             paramList = authProductMapper.getParamsByProductId(productForm.getProductId());
         }
         productForm.setParamList(paramList);
-        if (null != productForm) {
+        if (null!=productForm.getAuthDates()) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             String authDate = simpleDateFormat.format(productForm.getAuthDates());
             productForm.setAuthDate(authDate);