|
@ -801,7 +801,7 @@ public class ThirdJkEduArticleService extends BaseService {
|
|
* @throws Exception
|
|
* @throws Exception
|
|
*/
|
|
*/
|
|
public void updateArticleQRCode(String currentRoleLevel,String currentRoleCode,String imgUrl,Integer position,String userId,String userName,
|
|
public void updateArticleQRCode(String currentRoleLevel,String currentRoleCode,String imgUrl,Integer position,String userId,String userName,
|
|
String orgId,String orgName,Integer id) throws Exception {
|
|
|
|
|
|
String orgId,String orgName,Integer id,String identification) throws Exception {
|
|
|
|
|
|
JSONObject json = null;
|
|
JSONObject json = null;
|
|
try{
|
|
try{
|
|
@ -815,6 +815,7 @@ public class ThirdJkEduArticleService extends BaseService {
|
|
param.put("userName",userName);
|
|
param.put("userName",userName);
|
|
param.put("orgId",orgId);
|
|
param.put("orgId",orgId);
|
|
param.put("orgName",orgName);
|
|
param.put("orgName",orgName);
|
|
|
|
param.put("identification",identification);
|
|
String response = httpClientUtil.httpPost(articleBaseUrl+"/WsPlatform/rest", getParamsMap(updateArticleQRCode, param.toString(), "1"));
|
|
String response = httpClientUtil.httpPost(articleBaseUrl+"/WsPlatform/rest", getParamsMap(updateArticleQRCode, param.toString(), "1"));
|
|
json = JSON.parseObject(response);
|
|
json = JSON.parseObject(response);
|
|
}catch (Exception e) {
|
|
}catch (Exception e) {
|
|
@ -827,7 +828,7 @@ public class ThirdJkEduArticleService extends BaseService {
|
|
}
|
|
}
|
|
|
|
|
|
public void saveArticleQRCode(String currentRoleLevel,String currentRoleCode,String imgUrl,Integer position,String userId,String userName,
|
|
public void saveArticleQRCode(String currentRoleLevel,String currentRoleCode,String imgUrl,Integer position,String userId,String userName,
|
|
String orgId,String orgName) throws Exception {
|
|
|
|
|
|
String orgId,String orgName,String identification) throws Exception {
|
|
JSONObject json = null;
|
|
JSONObject json = null;
|
|
try{
|
|
try{
|
|
JSONObject param = new JSONObject();
|
|
JSONObject param = new JSONObject();
|
|
@ -837,8 +838,9 @@ public class ThirdJkEduArticleService extends BaseService {
|
|
param.put("userName",userName);
|
|
param.put("userName",userName);
|
|
param.put("orgId",orgId);
|
|
param.put("orgId",orgId);
|
|
param.put("orgName",orgName);
|
|
param.put("orgName",orgName);
|
|
|
|
param.put("identification",identification);
|
|
param.put("operatorRoleCode",currentRoleCode);
|
|
param.put("operatorRoleCode",currentRoleCode);
|
|
param.put("currentRoleLevel",currentRoleLevel);//saveArticleQRCode
|
|
|
|
|
|
param.put("operatorRoleLevel",currentRoleLevel);//saveArticleQRCode
|
|
String response = httpClientUtil.httpPost(articleBaseUrl+"/WsPlatform/rest", getParamsMap(saveArticleQRCode, param.toString(), "1"));
|
|
String response = httpClientUtil.httpPost(articleBaseUrl+"/WsPlatform/rest", getParamsMap(saveArticleQRCode, param.toString(), "1"));
|
|
json = JSON.parseObject(response);
|
|
json = JSON.parseObject(response);
|
|
}catch (Exception e) {
|
|
}catch (Exception e) {
|