Commit d0b125b3 authored by shangying's avatar shangying

强校验

parent d1e0c9f5
......@@ -29,7 +29,7 @@ public interface OneClickDataRespository extends JpaRepository<OneClickData, Lon
// 通过订单号查看
@Query(value = "select * from one_click_data where order_no = ?1 order by id desc limit 1", nativeQuery = true)
@Query(value = "select * from one_click_data where order_no = ?1 OR channel_order_no= ?1 order by id desc limit 1", nativeQuery = true)
OneClickData findByOrderNo(String OrderNo);
// 通过放款号查看
......
......@@ -49,7 +49,7 @@ public class OneClickDataQueueOperateServiceImpl implements OneClickDataQueueOpe
String applyNo=data.get("applyNo").toString().trim();
String extraData=queueMsgJson.get("extraData").toString();
String noticeType=queueMsgJson.get("noticeType").toString().trim();
log.info("获取applyNo:{}",applyNo);
log.info("获取data:{},applyNo:{}",data,applyNo);
OneClickData oneClickData= oneClickDataRespository.findByOrderNo(applyNo);
log.info("获取oneClickData:{},获取noticeType:{}",oneClickData,noticeType);
if(Objects.isNull(oneClickData)){
......
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