代码修改
This commit is contained in:
parent
482dc3e6a0
commit
d54d5cbad4
@ -50,7 +50,7 @@ public class PAddressController extends BaseController
|
||||
* 查询地址详情列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('address:address:list')")
|
||||
@PostMapping("/queryALl")
|
||||
@PostMapping("/queryAll")
|
||||
public AjaxResult queryALl(PAddress pAddress)
|
||||
{
|
||||
List<PAddress> list = pAddressService.selectPAddressList(pAddress);
|
||||
|
@ -116,7 +116,7 @@ public class IPCommonServiceImpl implements IPCommonService {
|
||||
@Override
|
||||
public AjaxResult initMember(PPassenger pPassenger) {
|
||||
String openId = pPassenger.getOpenId();
|
||||
if(StringUtils.isEmpty(openId)) return AjaxResult.error("请求参数错误!");
|
||||
if(StringUtils.isEmpty(openId)) return AjaxResult.error("请求参数错误,请检查入参是否有误!");
|
||||
PPassenger passemger = pPassengerMapper.selectPPassengerByOpenId(openId);
|
||||
if(passemger != null){
|
||||
/*TODO 需要判断当前用户是否申请成为看司机 */
|
||||
|
@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isBlacklist != null">is_blacklist,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="applyState != null">apply_state,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
@ -85,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isBlacklist != null">#{isBlacklist},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="applyState != null">#{applyState},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user