Commit d4f37659 authored by BlackJokerCJ's avatar BlackJokerCJ

修改提交

parent 85fd32ee
......@@ -43,6 +43,8 @@ public class CreditThirdDataListener extends AbstractMQConsumerHandler<JSONObjec
@Override
public void run(JSONObject req) throws Exception {
CreditModel creditModel= creditComponent.getByOrderNo(req.getString("orderNo"));
if(creditModel!=null&& creditModel.getCreditThirdStatus()!="INIT"){
log.info("req:[{}]",req.toJSONString());
JSONObject thirdCredit = new JSONObject();
thirdCredit.put("reqNo", req.getString("orderNo"));
......@@ -52,5 +54,6 @@ public class CreditThirdDataListener extends AbstractMQConsumerHandler<JSONObjec
creditModel1.setCreditThirdStatus("INIT");
creditComponent.updateByOrderNo(req.getString("orderNo"),creditModel1);
}
}
}
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