Merge branch 'develop' of https://gitee.com/darlk/ShengTangManage into xzj
This commit is contained in:
		@@ -91,10 +91,26 @@ public interface ISysRecipesPlanService
 | 
			
		||||
     */
 | 
			
		||||
    List<SysRecipesPlan> selectPlanListByOrderId(SysRecipesPlan sysRecipesPlan);
 | 
			
		||||
 | 
			
		||||
    List<SysRecipesPlan> selectPlanListByOutId(String outId);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 通过outId查询cusId
 | 
			
		||||
     * @param outId
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    Long getCusIdByOutId(String outId);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 通过outId查询食谱计划简要
 | 
			
		||||
     * @param outId
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    List<SysRecipesPlanListInfo> selectRecipesPlanListInfo(String outId);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 通过客户id查询食谱计划
 | 
			
		||||
     * @param cusId
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    List<SysRecipesPlan> selectPlanListByCusId(Long cusId);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -286,11 +286,6 @@ public class SysRecipesPlanServiceImpl implements ISysRecipesPlanService {
 | 
			
		||||
        return sysRecipesPlanMapper.selectPlanListByOrderId(sysRecipesPlan);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<SysRecipesPlan> selectPlanListByOutId(String outId) {
 | 
			
		||||
        return sysRecipesPlanMapper.selectPlanListByOutId(outId);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Long getCusIdByOutId(String outId) {
 | 
			
		||||
        return sysRecipesPlanMapper.getCusIdByOutId(outId);
 | 
			
		||||
@@ -301,4 +296,9 @@ public class SysRecipesPlanServiceImpl implements ISysRecipesPlanService {
 | 
			
		||||
        return sysRecipesPlanMapper.selectRecipesPlanListInfo(outId);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<SysRecipesPlan> selectPlanListByCusId(Long cusId) {
 | 
			
		||||
        return sysRecipesPlanMapper.selectPlanListByCusId(cusId);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -54,6 +54,7 @@ public class SysRecipesServiceImpl implements ISysRecipesService {
 | 
			
		||||
            SysRecipesPlan sysRecipesPlan = new SysRecipesPlan();
 | 
			
		||||
            sysRecipesPlan.setId(sysRecipes.getPlanId());
 | 
			
		||||
            sysRecipesPlan.setRecipesId(sysRecipes.getId());
 | 
			
		||||
            sysRecipesPlan.setReviewStatus(1);
 | 
			
		||||
            sysRecipesPlanMapper.updateSysRecipesPlan(sysRecipesPlan);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user