Commit 4fe60a49 authored by 张永's avatar 张永

1

parent 776ae624
...@@ -264,7 +264,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -264,7 +264,7 @@ public class OrderServiceImpl implements OrderService {
} }
Map<String, Object> payMap = new HashMap<String,Object>(); Map<String, Object> payMap = new HashMap<String,Object>();
try { try {
String sqlPay = "select sPayTypeID, sPayType, nPayAmount, sOutTradeNO, sStatusID = case when nTag&2=2 then '1' else '0' end, sStatus = case when nTag&2=2 then '已付款' else '未付款' end " String sqlPay = "select sPayTypeID, sPayType, nPayAmount, sOutTradeNO, sTransTraceNO, dPayDateTime, sStatusID = case when nTag&2=2 then '1' else '0' end, sStatus = case when nTag&2=2 then '已付款' else '未付款' end "
+ "from tSalesOrderPay " + "from tSalesOrderPay "
+ "where sSalesOrderID = ? "; + "where sSalesOrderID = ? ";
payMap = jdbcTemplate.queryForMap(sqlPay, salesOrderId); payMap = jdbcTemplate.queryForMap(sqlPay, salesOrderId);
......
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