调整凭证接口,切换地址
This commit is contained in:
parent
47b511b98b
commit
bccd5f86b1
|
@ -292,7 +292,7 @@
|
||||||
left join gl_pznr pznr on pznr.idpzh=pzml.idpzh and pzml.kjqj=pznr.kjqj
|
left join gl_pznr pznr on pznr.idpzh=pzml.idpzh and pzml.kjqj=pznr.kjqj
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="idpzh !=null and idpzh!='' "> and pzml.idpzh = #{idpzh} </if>
|
<if test="idpzh !=null and idpzh!='' "> and pzml.idpzh = #{idpzh} </if>
|
||||||
and (pzml.srrq>=#{srrq} or pzml.shrq >=#{shrq} or pzml.jzrq>=#{jzrq}) and pznr.zbid!=0
|
and (pzml.srrq>=#{srrq} or pzml.shrq >=#{shrq} or pzml.jzrq>=#{jzrq}) and pznr.zbid!=0 and pzml.zt!='0'
|
||||||
</trim>
|
</trim>
|
||||||
group by pznr.idpznr,
|
group by pznr.idpznr,
|
||||||
pznr.kjqj,
|
pznr.kjqj,
|
||||||
|
|
|
@ -737,7 +737,7 @@ public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, Str
|
||||||
jsonObjectData.put("data",jsonArray);
|
jsonObjectData.put("data",jsonArray);
|
||||||
String params = jsonObjectData.toJSONString();
|
String params = jsonObjectData.toJSONString();
|
||||||
logger.info("调用商学院凭证保存接口请求参数:{}",params);
|
logger.info("调用商学院凭证保存接口请求参数:{}",params);
|
||||||
result = HttpRequest.post(URLTest + "nky/service/zsApi/saveZJSYPZReimburse?accessToken="+token).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body();
|
result = HttpRequest.post(URL + "nky/service/zsApi/saveZJSYPZReimburse?accessToken="+token).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body();
|
||||||
logger.info("调用商学院凭证保存接口返回参数:{}",result);
|
logger.info("调用商学院凭证保存接口返回参数:{}",result);
|
||||||
}
|
}
|
||||||
JSONObject jsonObjectResult=new JSONObject();
|
JSONObject jsonObjectResult=new JSONObject();
|
||||||
|
@ -759,7 +759,7 @@ public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, Str
|
||||||
String params = jsonObject.toJSONString();
|
String params = jsonObject.toJSONString();
|
||||||
logger.info("=========获取凭证token请求参数:{}========",params);
|
logger.info("=========获取凭证token请求参数:{}========",params);
|
||||||
String urlToken="nky/service/session/getAccessToken";
|
String urlToken="nky/service/session/getAccessToken";
|
||||||
String result = HttpRequest.post(URLTest + urlToken).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body();
|
String result = HttpRequest.post(URL + urlToken).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body();
|
||||||
logger.info("=========获取凭证token返回结果:{}========",result);
|
logger.info("=========获取凭证token返回结果:{}========",result);
|
||||||
JSONObject jsonObjectResult=JSONObject.parseObject(result);
|
JSONObject jsonObjectResult=JSONObject.parseObject(result);
|
||||||
String value=jsonObjectResult.getString("value");
|
String value=jsonObjectResult.getString("value");
|
||||||
|
|
Loading…
Reference in New Issue