留样管理保留小程序端的wxSaveImage字段
This commit is contained in:
@@ -39,6 +39,7 @@ public class FoodSampleServiceImpl extends ServiceImpl<FoodSampleMapper, FoodSam
|
||||
list.forEach(item -> {
|
||||
item.setSaveImg(ArrayStringUtils.stringToArray(item.getSaveImgStr()));
|
||||
item.setWxSaveImg(ArrayStringUtils.arrayToWxImgList(item.getSaveImg()));
|
||||
item.setWxSaveImage(ArrayStringUtils.arrayToWxImgList(item.getSaveImg()));
|
||||
// FoodBookVO foodBookVO = this.getFoodBookVOById(item.getBookId());
|
||||
// if(foodBookVO != null){
|
||||
// item.setDishNames(foodBookVO.getDishNames());
|
||||
|
||||
@@ -75,7 +75,10 @@ public class FoodSampleVO extends CommonVO implements Serializable {
|
||||
private String[] saveImg;
|
||||
private String saveImgStr;
|
||||
// @NotEmpty(message = "留样照片不能为空", groups = {WxUpdateGroup.class, WxAddGroup.class})
|
||||
// web端使用字段
|
||||
private List<WxImg> wxSaveImg;
|
||||
// 小程序端使用字段
|
||||
private List<WxImg> wxSaveImage;
|
||||
|
||||
/**
|
||||
* 目测状态:0 异常 1 良好
|
||||
|
||||
Reference in New Issue
Block a user