|
@@ -360,7 +360,7 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
wxgDownladRecs = itfTblWangdianWxgDownloadService.lambdaQuery()
|
|
|
.eq(ItfTblWangdianWxgDownload::getCertStatus,0)
|
|
|
.le(ItfTblWangdianWxgDownload::getCertTimes,20)
|
|
|
- // .eq(ItfTblWangdianWxgDownload::getSfzen,"440785199006194614")// 测试用
|
|
|
+ .eq(ItfTblWangdianWxgDownload::getSfzen,"421102198705313212")// 测试用
|
|
|
// .eq(ItfTblWangdianWxgDownload::getWdno,"S2106139")// 测试用
|
|
|
.like(ItfTblWangdianWxgDownload::getWdno,"S%").list();
|
|
|
|
|
@@ -407,13 +407,9 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
} else {
|
|
|
wxg.setCertTimes(wxg.getCertTimes() + 1);
|
|
|
log.info("获取工程师证件照信息失败-师傅证件信息:{} {}", wxg.getSfzen(),response.getMsg());
|
|
|
- wxg.setCertSynErrMsg("获取工程师证件照信息失败");
|
|
|
- JSONObject msg = JSONObject.parseObject(response.getMsg());
|
|
|
- if (null != msg.get("message")){
|
|
|
- wxg.setCertSynErrMsg(msg.getString("message"));
|
|
|
- if (wxg.getCertSynErrMsg().length()>128){
|
|
|
- wxg.setCertSynErrMsg(wxg.getCertSynErrMsg().substring(0,126));
|
|
|
- }
|
|
|
+ wxg.setCertSynErrMsg(response.getMsg());
|
|
|
+ if (response.getMsg().length()>128){
|
|
|
+ wxg.setCertSynErrMsg(response.getMsg().substring(0,126));
|
|
|
}
|
|
|
}
|
|
|
wxg.updateById();
|