Merge branch 'develop' of https://gitee.com/darlk/ShengTangManage into xzj
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
package com.stdiet.custom.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SysIngredentFile {
|
||||
|
||||
Long id;
|
||||
|
||||
Long igdId;
|
||||
|
||||
String fileUrl;
|
||||
|
||||
String fileName;
|
||||
|
||||
Integer delFlag;
|
||||
|
||||
Long createBy;
|
||||
|
||||
Date createTime;
|
||||
|
||||
Long updateBy;
|
||||
|
||||
Date updateTime;
|
||||
}
|
@ -15,8 +15,6 @@ import java.util.Date;
|
||||
*/
|
||||
@Data
|
||||
public class SysIngredient {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@ -107,4 +105,9 @@ public class SysIngredient {
|
||||
|
||||
private Long[] notRecIds;
|
||||
|
||||
/**
|
||||
* 食材信息
|
||||
*/
|
||||
private String info;
|
||||
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
package com.stdiet.custom.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.stdiet.custom.domain.SysIngredentFile;
|
||||
import com.stdiet.custom.domain.SysIngredient;
|
||||
import com.stdiet.custom.domain.SysIngredientNotRec;
|
||||
import com.stdiet.custom.domain.SysIngredientRec;
|
||||
@ -80,4 +82,6 @@ public interface SysIngredientMapper
|
||||
* @return
|
||||
*/
|
||||
public SysIngredient selectSysIngredientByName(@Param("name") String name);
|
||||
|
||||
int batchInsertIngredientImage(List<SysIngredentFile> ingredentFiles);
|
||||
}
|
@ -60,6 +60,9 @@ public class SysIngredientServiceImpl implements ISysIngredientService {
|
||||
insertRecommand(sysIngredient);
|
||||
//
|
||||
insertNotRecommand(sysIngredient);
|
||||
//
|
||||
|
||||
|
||||
return rows;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user