Commit 68e6d997 by 罗承锋

修改智能平台同步状态更新

parent 5c8d1552
...@@ -143,7 +143,7 @@ public interface OrderMapper extends BaseMapper<Order> { ...@@ -143,7 +143,7 @@ public interface OrderMapper extends BaseMapper<Order> {
* 更新未下单并且融合时间小于当前时间的订单 * 更新未下单并且融合时间小于当前时间的订单
* @return * @return
*/ */
int updateNosendAndRhTimeLtNowOrder(); int updateNosendAndRhTimeLtNowOrder(@Param("now") String now);
@Select("select * from bys_student where phone = #{phone}") @Select("select * from bys_student where phone = #{phone}")
List<Map<String, Object>> selectBys(String phone); List<Map<String, Object>> selectBys(String phone);
......
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
<!-- 更新未下单并且融合时间小于当前时间的订单 --> <!-- 更新未下单并且融合时间小于当前时间的订单 -->
<update id="updateNosendAndRhTimeLtNowOrder"> <update id="updateNosendAndRhTimeLtNowOrder">
update hhr_order set order_status = "待受理" where DATE_FORMAT(rh_time, "%y-%m-%d") &lt; date_format(now(), "%y-%m-%d") and order_status = "未下单" update hhr_order set order_status = "待受理" where rh_time &lt; #{now} and order_status = "未下单"
</update> </update>
<!-- 00:移动通报学校 --> <!-- 00:移动通报学校 -->
......
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