Commit f4269183 authored by hezhen's avatar hezhen

123

parent 03895874
......@@ -20,6 +20,7 @@ public class AppUserDTO {
private String birthday;
private String personSign;
private String remark;
private Integer imUserid;
private String wxOpenid;
private String unionid;
private String openid;
......
......@@ -49,7 +49,7 @@ public class OrderTourVerificationController extends CommonBaseController {
){
return ObjectRestResponse.succ(verificationBiz.getVerificationList(page,limit,verificationId));
}
@RequestMapping(value = "/verification/check",method = RequestMethod.POST)
@RequestMapping(value = "/verification/check",method = RequestMethod.GET)
@ApiOperation(value = "旅游核销")
public ObjectRestResponse<BaseOrder> check(
@RequestParam(value = "no",defaultValue = "") String no
......@@ -66,7 +66,7 @@ public class OrderTourVerificationController extends CommonBaseController {
return verificationBiz.VerificationByOrder(no,list,userDTO);
}
@RequestMapping(value = "/verification/finish",method = RequestMethod.POST)
@RequestMapping(value = "/verification/finish",method = RequestMethod.GET)
@ApiOperation(value = "确定发车")
public ObjectRestResponse<BaseOrder> finishOrder(
@RequestParam(value = "verificationId",defaultValue = "0") Integer verificationId
......
......@@ -72,7 +72,7 @@ public class TourGoodVerificationBiz extends BaseBiz<TourGoodVerificationMapper,
* @return
*/
public int updateTourGoodVerificationStatus(Integer verficationId){
return mapper.updateStatusByGoodIdAndSpeIdAndSiteId(verficationId,0);
return mapper.updateStatusByGoodIdAndSpeIdAndSiteId(verficationId,1);
}
/**
......
......@@ -46,7 +46,7 @@ public interface TourGoodVerificationMapper extends Mapper<TourGoodVerification>
* @param verficationId
* @return
*/
@Update("update tour_good_verification set `status`=#{status} where where `id`=#{verficationId}")
@Update("update tour_good_verification set `status`=#{status} where `id`=#{verficationId}")
int updateStatusByGoodIdAndSpeIdAndSiteId(@Param("verficationId") Integer verficationId,@Param("status") Integer status);
/**
......
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