Merge branch 'master' of https://gitee.com/darlk/ShengTangManage into xzj
This commit is contained in:
		| @@ -54,8 +54,8 @@ public class SysRecipesServiceImpl implements ISysRecipesService { | ||||
|             // 更新食谱计划 | ||||
|             SysRecipesPlan sysRecipesPlan = new SysRecipesPlan(); | ||||
|             sysRecipesPlan.setId(sysRecipes.getPlanId()); | ||||
|             sysRecipesPlan.setReviewStatus(3);// 设置制作中 | ||||
|             sysRecipesPlan.setRecipesId(sysRecipes.getId()); | ||||
|             sysRecipesPlan.setReviewStatus(1); | ||||
|             sysRecipesPlanMapper.updateSysRecipesPlan(sysRecipesPlan); | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -31,7 +31,7 @@ | ||||
|         left join sys_user su_nutritionist on su_nutritionist.user_id = srt.nutritionist_id and su_nutritionist.del_flag = 0 | ||||
|         left join sys_user su_nutritionist_assis on su_nutritionist_assis.user_id = srt.nutri_assis_id and su_nutritionist_assis.del_flag = 0 | ||||
|         where srt.del_flag = 0 | ||||
|         <if test="name != null  and name != ''">and srt.name like concat('%', #{name}, '%')</if> | ||||
|         <if test="name != null  and name != ''">and srt.name like concat('%', #{name}, '%') or srt.remark like concat('%', #{name}, '%')</if> | ||||
|         <if test="nutriAssisId != null ">and srt.nutri_assis_id = #{nutriAssisId}</if> | ||||
|         <if test="nutritionistId != null ">and srt.nutritionist_id = #{nutritionistId}</if> | ||||
|         <if test="reviewStatus != null ">and srp.review_status = #{reviewStatus}</if> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user