|
@@ -2037,20 +2037,11 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
|
|
|
map.put("foodLicenceStatus", storeInfo.getFoodLicenceStatus());
|
|
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)) {
|
|
if (!CollectionUtils.isEmpty(storeImgList)) {
|
|
|
map.put("foodLicenceImgList", storeImgList);
|
|
map.put("foodLicenceImgList", storeImgList);
|
|
|
} else {
|
|
} else {
|
|
|
map.put("foodLicenceImgList", "");
|
|
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) {
|
|
if (storeInfo.getFoodLicenceReason() != null) {
|
|
|
map.put("foodLicenceReason", storeInfo.getFoodLicenceReason());
|
|
map.put("foodLicenceReason", storeInfo.getFoodLicenceReason());
|