|  |  |  | @ -15,6 +15,7 @@ import com.glxp.api.req.sync.BasicExportStatusRequest; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.req.sync.OrderStatusFilterRequest; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.res.PageSimpleResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.res.sync.*; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.res.system.SyncDataSetResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.sync.SyncDataSetService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.util.OkHttpCli; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.beans.factory.annotation.Value; | 
			
		
	
	
		
			
				
					|  |  |  | @ -83,7 +84,7 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //上传单据类型
 | 
			
		
	
		
			
				
					|  |  |  |  |     //上传用户信息
 | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> postAllUser(SpsSyncDataResponse syncDataResponse) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(syncDataResponse); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/sps/sync/allUser/upload", json, buildHeader()); | 
			
		
	
	
		
			
				
					|  |  |  | @ -97,7 +98,7 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |     //获取自助平台验收单据---直连接口
 | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<SpsSyncOrderResponse> getReviewOrder(ReviewSpmsRequest reviewSpmsRequest) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(reviewSpmsRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/udiwms/order/getReviews", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/directToSpms" + "/udiwms/order/getReviews", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<SpsSyncOrderResponse> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<SpsSyncOrderResponse>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -107,7 +108,16 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |     //验收自助平台单据--直连接口
 | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> reviewOrder(ReviewFinishRequest reviewFinishRequest) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(reviewFinishRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/spms/inout/order/web/updateStatus", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/directToSpms" + "/spms/inout/order/web/updateStatus", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<String> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         return response; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> updateSynsSet(SyncDataSetResponse syncDataSetResponse) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(syncDataSetResponse); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/directToSpms" + "/system/param/syncData/save", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<String> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -226,8 +236,6 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> postBasicStatus(String id) { | 
			
		
	
		
			
				
					|  |  |  |  |         BasicExportStatusRequest basicStatusFilterRequest = new BasicExportStatusRequest(); | 
			
		
	
		
			
				
					|  |  |  |  |         basicStatusFilterRequest.setId(id); | 
			
		
	
	
		
			
				
					|  |  |  | @ -291,7 +299,7 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> postThrData(SpsSyncThrDataResponse spsSyncThrDataResponse) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(spsSyncThrDataResponse); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/sps/sync/thrData/upload", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/syncToSpms" + "/sps/sync/thrData/upload", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<String> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -306,7 +314,7 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> postThrProducts(SpsSyncThrProductsResponse spsSyncThrProductsResponse) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(spsSyncThrProductsResponse); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/sps/sync/thrData/products/upload", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/syncToSpms" + "/sps/sync/thrData/products/upload", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<String> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -321,7 +329,7 @@ public class SpGetHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse<String> postSysSetting(SpsSyncSysSettingResponse spsSyncSysSettingResponse) { | 
			
		
	
		
			
				
					|  |  |  |  |         String json = JSONUtil.toJsonStr(spsSyncSysSettingResponse); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/sps/sync/sys/setting", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         String result = okHttpCli.doPostJson(getIpUrl() + "/syncToSpms" + "/sps/sync/sys/setting", json, buildHeader()); | 
			
		
	
		
			
				
					|  |  |  |  |         BaseResponse<String> response = | 
			
		
	
		
			
				
					|  |  |  |  |                 JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |