Commit 48dffce2 authored by Quxl's avatar Quxl

xx

parent 347f6af6
...@@ -139,6 +139,18 @@ public class OrderController { ...@@ -139,6 +139,18 @@ public class OrderController {
return orderService.getSubOrderDetail(subOrderID); return orderService.getSubOrderDetail(subOrderID);
} }
@ApiOperation("获取送货单详情")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name="aocOrderID", dataType = "String", required = true),
@ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = true, value = "终端标识", defaultValue = "wechat"),
@ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = true, value = "语言", defaultValue = "936"),
})
@RequestMapping(value = "/getDeliverSubDetail",method=RequestMethod.GET)
public String getDeliverSubDetail(String aocOrderID) {
List<Map<String, Object>> list = orderService.getDeliverSubDetail(aocOrderID);
return Rjx.jsonOk().setData(list).toJson();
}
@ApiOperation("小程序在线支付交易成功通知支付状态") @ApiOperation("小程序在线支付交易成功通知支付状态")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name="nPayAmount", dataType = "String", required = true), @ApiImplicitParam(paramType = "query", name="nPayAmount", dataType = "String", required = true),
......
...@@ -34,4 +34,6 @@ public interface OrderService { ...@@ -34,4 +34,6 @@ public interface OrderService {
public void confirmReceipt(String custNo, String subOrderID); public void confirmReceipt(String custNo, String subOrderID);
public List<Map<String, Object>> getDeliverSubDetail(String aocOrderID);
} }
...@@ -819,5 +819,10 @@ public class OrderServiceImpl implements OrderService { ...@@ -819,5 +819,10 @@ public class OrderServiceImpl implements OrderService {
; ;
jdbcTemplate.update(sql); jdbcTemplate.update(sql);
} }
@Override
public List<Map<String, Object>> getDeliverSubDetail(String aocOrderID) {
return jdbcTemplate.queryForList("select * from tSalesOrderDeliverSubDtl where nTag&1 = 0 and sAocOrderID = ?", aocOrderID);
}
} }
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