Merge remote-tracking branch 'origin/master'
This commit is contained in:
		
						commit
						c50878a65b
					
				|  | @ -4,6 +4,8 @@ import kd.bos.dataentity.entity.DynamicObject; | |||
| import kd.bos.entity.datamodel.IDataModel; | ||||
| import kd.bos.form.events.AfterDoOperationEventArgs; | ||||
| import kd.bos.form.plugin.AbstractFormPlugin; | ||||
| import kd.bos.logging.Log; | ||||
| import kd.bos.logging.LogFactory; | ||||
| import kd.bos.orm.query.QCP; | ||||
| import kd.bos.orm.query.QFilter; | ||||
| import kd.bos.servicehelper.AttachmentServiceHelper; | ||||
|  | @ -21,6 +23,8 @@ import java.util.Map; | |||
|  * 动态表单插件 | ||||
|  */ | ||||
| public class WmsScspostApi extends AbstractFormPlugin implements Plugin { | ||||
|     private final static Log logger = LogFactory.getLog(ScsPostApi.class); | ||||
| 
 | ||||
|     DynamicObject BJURL = BusinessDataServiceHelper.loadSingle("tqq9_thirdconfig", "name", | ||||
|             new QFilter[]{new QFilter("number", QCP.equals, "BJ_POSTURL")}); | ||||
|     String BJ_URL = (String) BJURL.getString("name"); | ||||
|  | @ -105,6 +109,7 @@ public class WmsScspostApi extends AbstractFormPlugin implements Plugin { | |||
|             HashMap<String, String> headMap = new HashMap<>(); | ||||
|             try { | ||||
|                 String s = HttpRequestUtils.postXml(WMS_URL+ "?method=manufacturer.create&v=2.0&format=xml&customerId=123", xmlBuilder.toString(), headMap); | ||||
|                 logger.info("wms生产商同步接口:"+s); | ||||
|                 System.out.println(s); | ||||
|             } catch (IOException ex) { | ||||
|                 throw new RuntimeException(ex); | ||||
|  |  | |||
|  | @ -5,6 +5,8 @@ import kd.bos.dataentity.entity.DynamicObject; | |||
| import kd.bos.dataentity.entity.DynamicObjectCollection; | ||||
| import kd.bos.entity.datamodel.IDataModel; | ||||
| import kd.bos.form.events.AfterDoOperationEventArgs; | ||||
| import kd.bos.logging.Log; | ||||
| import kd.bos.logging.LogFactory; | ||||
| import kd.bos.orm.query.QCP; | ||||
| import kd.bos.orm.query.QFilter; | ||||
| import kd.bos.servicehelper.AttachmentServiceHelper; | ||||
|  | @ -20,6 +22,8 @@ import java.util.*; | |||
|  * 动态表单插件 | ||||
|  */ | ||||
| public class wmsZczPostApi extends AbstractBillPlugIn implements Plugin { | ||||
|     private final static Log logger = LogFactory.getLog(ScsPostApi.class); | ||||
| 
 | ||||
|     DynamicObject BJURL = BusinessDataServiceHelper.loadSingle("tqq9_thirdconfig", "name", | ||||
|             new QFilter[]{new QFilter("number", QCP.equals, "BJ_POSTURL")}); | ||||
|     String BJ_URL = (String) BJURL.getString("name"); | ||||
|  | @ -121,6 +125,7 @@ public class wmsZczPostApi extends AbstractBillPlugIn implements Plugin { | |||
|             HashMap<String, String> headMap = new HashMap<>(); | ||||
|             try { | ||||
|                 String s = HttpRequestUtils.postXml(WMS_URL+ "?method=registrationcertificate.create&v=2.0&format=xml&customerId=123", xmlBuilder.toString(), headMap); | ||||
|                 logger.info("wms注册证接口回传日志:"+s); | ||||
|                 System.out.println(s); | ||||
|             } catch (IOException ex) { | ||||
|                 throw new RuntimeException(ex); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue