Commit fce91f49 by huluobin

update

parent 072fb2f6
...@@ -75,8 +75,8 @@ public class TechniqueSkuServiceImpl extends ServiceImpl<TechniqueSkuMapper, Tec ...@@ -75,8 +75,8 @@ public class TechniqueSkuServiceImpl extends ServiceImpl<TechniqueSkuMapper, Tec
ScheduleServe scheduleServe = scheduleServeMapper.selectById(scheduleServeId); ScheduleServe scheduleServe = scheduleServeMapper.selectById(scheduleServeId);
BaseServe baseServe = baseServeMapper.selectById(scheduleServe.getServeId()); BaseServe baseServe = baseServeMapper.selectById(scheduleServe.getServeId());
ScheduleServe subRemoveArmor = scheduleServeMapper.subRemoveArmor(scheduleServeId, scheduleServe.getSchId()); ScheduleServe subRemoveArmor = scheduleServeMapper.subRemoveArmor(scheduleServe.getServeId(), scheduleServe.getSchId());
ScheduleServe subExtend = scheduleServeMapper.subExtend(scheduleServeId, scheduleServe.getSchId()); ScheduleServe subExtend = scheduleServeMapper.subExtend(scheduleServe.getServeId(), scheduleServe.getSchId());
wrapper.eq(TechniqueCategory::getServiceTypeId, baseServe.getTypeId()); wrapper.eq(TechniqueCategory::getServiceTypeId, baseServe.getTypeId());
......
...@@ -27,19 +27,19 @@ public interface ScheduleServeMapper extends BaseMapper<ScheduleServe> { ...@@ -27,19 +27,19 @@ public interface ScheduleServeMapper extends BaseMapper<ScheduleServe> {
/** /**
* 服务的卸甲子服务 * 服务的卸甲子服务
* *
* @param scheduleServeId * @param mainServeId
* @return * @return
*/ */
ScheduleServe subRemoveArmor(@Param("scheduleServeId") Integer scheduleServeId, @Param("scheduleId") Integer scheduleId); ScheduleServe subRemoveArmor(@Param("mainServeId") Integer mainServeId, @Param("scheduleId") Integer scheduleId);
/** /**
* 服务的延长子服务 * 服务的延长子服务
* *
* @param scheduleServeId * @param mainServeId
* @param scheduleId * @param scheduleId
* @return * @return
*/ */
ScheduleServe subExtend(@Param("scheduleServeId") Integer scheduleServeId, @Param("scheduleId") Integer scheduleId); ScheduleServe subExtend(@Param("mainServeId") Integer mainServeId, @Param("scheduleId") Integer scheduleId);
} }
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
select * select *
from scheduled_serve from scheduled_serve
where sch_id = #{scheduleId} where sch_id = #{scheduleId}
and main_serve_id = #{scheduleServeId} and main_serve_id = #{mainServeId}
and serve_name like concat('%', '卸甲', '%') and serve_name like concat('%', '卸甲', '%')
limit 1 limit 1
</select> </select>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
select * select *
from scheduled_serve from scheduled_serve
where sch_id = #{scheduleId} where sch_id = #{scheduleId}
and main_serve_id = #{scheduleServeId} and main_serve_id = #{mainServeId}
and serve_name like concat('%', '延长', '%') and serve_name like concat('%', '延长', '%')
limit 1 limit 1
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment