修改发起拼单的逻辑
This commit is contained in:
parent
b590ec9677
commit
09c94fccfc
@ -51,6 +51,7 @@ public class IPCommonServiceImpl implements IPCommonService {
|
||||
logger.info("订单:" + orderNum+" 已经有司机接单,请联系司机。");
|
||||
return AjaxResult.error("订单已经有司机接单,请联系司机。");
|
||||
}else {
|
||||
|
||||
/*校验是否可以取消*/
|
||||
Map<String , Integer> info = pCommonMapper.queryOrderMemberStateByOpenId(commonVO);
|
||||
if(info != null && info.get("state") == 0){
|
||||
|
@ -42,8 +42,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<sql id="selectPOrderVo">
|
||||
select
|
||||
id, order_num, departure, destination, departure_time, member, state,creater_name,creater_phone,creater_openid
|
||||
isDelete, create_user, create_time, update_user, update_time
|
||||
id, order_num, departure, destination, departure_time, member,state,creater_openid,isDelete,creater_name,creater_phone ,
|
||||
driver_id, create_user, create_time, update_user, update_time ,driver_open_id
|
||||
from p_order
|
||||
</sql>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user