String sql = "if not exists (select * from tSalesOrderPay where sTransTraceNO = '" + sTransTraceNO + "') "
String sql = "if not exists (select * from tSalesOrderPay where sTransTraceNO = '" + sTransTraceNO + "') "
+ sqlDesc.getSql();
+ sqlDesc.getSql();
jdbcTemplate.update(sql,sqlDesc.getArgs());
jdbcTemplate.update(sql, sqlDesc.getArgs());*/
jdbcTemplate.update("update tSalesOrder set nOrderStatus = nOrderStatus|32 where sSalesOrderID = ?",
if(StringUtil.isNotBlank(sSalesOrderID)){
sSalesOrderID);
jdbcTemplate.update("UPDATE tSalesOrderPay SET sTransTraceNO = ? AND dPayDateTime = ? WHERE sOutTradeNO = ? ",sTransTraceNO,DateUtil.format(dPayDateTime,DateUtil.FMT_DATE_SECOND),sOutTradeNO);
try{
jdbcTemplate.update("update tSalesOrder set nOrderStatus = nOrderStatus|32 where sSalesOrderID = ?",