XxlJobHandler
This commit is contained in:
@@ -59,4 +59,7 @@ public interface LineInfoMapper extends Mapper<LineInfoDO> {
|
||||
* @param lineInfoParam
|
||||
*/
|
||||
void insertOrUpdate(@Param("param") LineInfoDO lineInfoParam);
|
||||
|
||||
void toExperiencing(@Param("lineIds") List<Long> lineIds,
|
||||
@Param("code") Integer code);
|
||||
}
|
||||
@@ -19,4 +19,11 @@ public interface TrainingExperienceMapper {
|
||||
LeaseBaseInfoDO selectByLineId(@Param("lineId") Long lineId);
|
||||
|
||||
List<LeaseBaseInfoDO> selectByLineIds(@Param("lineIds") List<Long> lineIds);
|
||||
|
||||
/**
|
||||
* 查询当日的门店体验数据
|
||||
* @return
|
||||
*/
|
||||
List<LeaseBaseInfoDO> selectESTime();
|
||||
|
||||
}
|
||||
|
||||
@@ -280,6 +280,20 @@
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="toExperiencing">
|
||||
UPDATE
|
||||
xfsg_line_info
|
||||
SET workflow_sub_stage_status = #{code}
|
||||
WHERE
|
||||
deleted = 0
|
||||
AND workflow_sub_stage_status = 85
|
||||
AND id in
|
||||
<foreach collection="lineIds" item="lineId" open="(" close=")" separator=",">
|
||||
#{lineId}
|
||||
</foreach>
|
||||
|
||||
|
||||
</update>
|
||||
|
||||
<select id="getByPartnerId" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_info where partner_id = #{partnerId} and deleted = 0
|
||||
|
||||
@@ -88,6 +88,15 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectESTime" resultType="com.cool.store.entity.LeaseBaseInfoDO">
|
||||
SELECT
|
||||
<include refid="Base_Column_List"/>
|
||||
FROM
|
||||
xfsg_lease_base_info
|
||||
WHERE
|
||||
DATE(experience_start_time) = CURDATE()
|
||||
AND deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user