Forráskód Böngészése

食品经营许可证 审核未通过列表

qxy 3 hónapja
szülő
commit
512d1aa8ea

+ 1 - 1
alien-entity/src/main/java/shop/alien/entity/store/vo/StoreInfoVo.java

@@ -184,7 +184,7 @@ public class StoreInfoVo extends StoreInfo {
     private String verificationCode;
 
     @ApiModelProperty(value = "经营许可证到期时间")
-    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date foodLicenceExpirationTime;
 
     @ApiModelProperty(value = "变更经营许可证提交时间")

+ 1 - 10
alien-store/src/main/java/shop/alien/store/service/impl/StoreInfoServiceImpl.java

@@ -2037,20 +2037,11 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
             map.put("foodLicenceStatus", storeInfo.getFoodLicenceStatus());
         }
         //食品经营许可证照片列表
-        if(storeInfo.getFoodLicenceStatus()==2||storeInfo.getFoodLicenceStatus()==3){
-            List<StoreImg> storeImgList = storeImgMapper.selectList(new LambdaQueryWrapper<StoreImg>().eq(StoreImg::getImgType, 24).eq(StoreImg::getStoreId, id));
+        List<StoreImg> storeImgList = storeImgMapper.selectList(new LambdaQueryWrapper<StoreImg>().eq(StoreImg::getImgType, 24).eq(StoreImg::getStoreId, id));
             if (!CollectionUtils.isEmpty(storeImgList)) {
                 map.put("foodLicenceImgList", storeImgList);
             } else {
                 map.put("foodLicenceImgList", "");
-            }
-        }else if(storeInfo.getFoodLicenceStatus()==1){
-            List<StoreImg> storeImgList = storeImgMapper.selectList(new LambdaQueryWrapper<StoreImg>().eq(StoreImg::getImgType, 25).eq(StoreImg::getStoreId, id));
-            if (!CollectionUtils.isEmpty(storeImgList)) {
-                map.put("foodLicenceImgList", storeImgList);
-            } else {
-                map.put("foodLicenceImgList", "");
-            }
         }
         if (storeInfo.getFoodLicenceReason() != null) {
             map.put("foodLicenceReason", storeInfo.getFoodLicenceReason());