删除接口-进货-出货

master
erzhongxmu 2023-05-04 15:44:51 +08:00
parent f8b05b6840
commit d120b4861c
20 changed files with 6 additions and 11406 deletions

View File

@ -13,10 +13,9 @@ import javax.servlet.http.HttpServletResponse;
import javax.validation.Validator; import javax.validation.Validator;
import com.zzjee.md.entity.MdCusEntity; import com.zzjee.md.entity.MdCusEntity;
import com.zzjee.wm.entity.WmOmQmIEntity;
import com.zzjee.wm.page.WmOmNoticeImpnewPage; import com.zzjee.wm.page.WmOmNoticeImpnewPage;
import com.zzjee.wm.page.WmTmsNoticeHPage;
import com.zzjee.wmutil.dsc.dscUtil;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import org.jeecgframework.core.common.controller.BaseController; import org.jeecgframework.core.common.controller.BaseController;

View File

@ -3027,7 +3027,6 @@ public class WmOmNoticeHController extends BaseController {
} }
// wmi.setGoodsPrdData(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate2User());
wmi.setOtherId(page.getOtherId()); wmi.setOtherId(page.getOtherId());
wmi.setBinId(page.getBinId()); wmi.setBinId(page.getBinId());
wmi.setBinOm(page.getBinOm()); wmi.setBinOm(page.getBinOm());
@ -3168,7 +3167,6 @@ public class WmOmNoticeHController extends BaseController {
} }
// wmi.setGoodsPrdData(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate2User());
wmi.setOtherId(page.getOtherId()); wmi.setOtherId(page.getOtherId());
wmi.setBinOm(page.getBinOm()); wmi.setBinOm(page.getBinOm());
wmi.setBinId(page.getBinId()); wmi.setBinId(page.getBinId());

File diff suppressed because one or more lines are too long

View File

@ -1,867 +0,0 @@
package com.zzjee.wmutil;
import com.google.gson.annotations.SerializedName;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
@JsonAutoDetect
public class customerResult {
/**
* result : [{"cu_lastdate":"2018-04-27 13:47:19.0","cu_city":null,"cu_auditdate":"2018-08-30 09:38:07.0","cu_code":"C18040020","cu_taxid":null,"cu_initdate":null,"cu_shcustname":"京东科技有限公司2","cu_auditstatuscode":"AUDITED","cu_ccoefficient":null,"cu_payments":"现金","cu_currency":"RMB","cu_degree":null,"cu_postalcode":null,"cu_paymentscode":"2018040004","cu_tcoefficient":null,"cu_rate":"1","cu_mobile":"13937682134","cu_agenttype":null,"cu_b2benable":"0","cu_district":null,"cu_enablecredit":"否","cu_country":null,"cu_businesscode":"910000000000MS","cu_id":"67040","cu_pricetype":null,"cu_email":"13937682134@163.com","cu_shcustcode":"C18040020","cu_qualitycode":null,"cu_uu":null,"cu_name":"京东科技有限公司2","cu_contact":"韩雪","cu_shipmentremark":null,"cu_relatedparty":null,"cu_arcode":"C18040020","cu_status":"长期","cu_tel":null,"cu_auditstatus":"已审核","cu_paymentid":"32559","cu_statuscode":null,"cu_add1":null,"cu_add2":null,"cu_webserver":null,"cu_lawman":null,"cu_credit":"0","cu_province":null,"cu_sellerid":"1029591","cu_auditman":"管理员","cu_taxrate":"16","cu_invoicetype":null,"cu_sellername":"韩雪艳","cu_fax":null,"cu_servicename":null,"cu_kind":"线上客户","cu_attach":null,"cu_shortname":"京东2","cu_recorddate":"2018-04-27 00:00:00.0","cu_shipment":null,"cu_bankaccount":null,"cu_source":null,"cu_recordman":"韩雪艳","cu_salegroup":null,"cu_duedays":"0","cu_bank":null,"cu_standarddate":"0","cu_monthsend":"05","cu_remark":null,"cu_arname":"京东科技有限公司2","cu_updatedate":null,"cu_regamount":null,"cu_servicecode":null,"cu_arcustcode":null,"cu_sellercode":"X0008","cu_transdate":null,"cu_businessrange":null}]
* success : true
* resCode : 00
*/
@JsonProperty("success")
private boolean success;
@JsonProperty("resCode")
private String resCode;
@JsonProperty("result")
private List<ResultBean> result;
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getResCode() {
return resCode;
}
public void setResCode(String resCode) {
this.resCode = resCode;
}
public List<ResultBean> getResult() {
return result;
}
public void setResult(List<ResultBean> result) {
this.result = result;
}
public static class ResultBean {
/**
* cu_lastdate : 2018-04-27 13:47:19.0
* cu_city : null
* cu_auditdate : 2018-08-30 09:38:07.0
* cu_code : C18040020
* cu_taxid : null
* cu_initdate : null
* cu_shcustname : 2
* cu_auditstatuscode : AUDITED
* cu_ccoefficient : null
* cu_payments :
* cu_currency : RMB
* cu_degree : null
* cu_postalcode : null
* cu_paymentscode : 2018040004
* cu_tcoefficient : null
* cu_rate : 1
* cu_mobile : 13937682134
* cu_agenttype : null
* cu_b2benable : 0
* cu_district : null
* cu_enablecredit :
* cu_country : null
* cu_businesscode : 910000000000MS
* cu_id : 67040
* cu_pricetype : null
* cu_email : 13937682134@163.com
* cu_shcustcode : C18040020
* cu_qualitycode : null
* cu_uu : null
* cu_name : 2
* cu_contact :
* cu_shipmentremark : null
* cu_relatedparty : null
* cu_arcode : C18040020
* cu_status :
* cu_tel : null
* cu_auditstatus :
* cu_paymentid : 32559
* cu_statuscode : null
* cu_add1 : null
* cu_add2 : null
* cu_webserver : null
* cu_lawman : null
* cu_credit : 0
* cu_province : null
* cu_sellerid : 1029591
* cu_auditman :
* cu_taxrate : 16
* cu_invoicetype : null
* cu_sellername :
* cu_fax : null
* cu_servicename : null
* cu_kind : 线
* cu_attach : null
* cu_shortname : 2
* cu_recorddate : 2018-04-27 00:00:00.0
* cu_shipment : null
* cu_bankaccount : null
* cu_source : null
* cu_recordman :
* cu_salegroup : null
* cu_duedays : 0
* cu_bank : null
* cu_standarddate : 0
* cu_monthsend : 05
* cu_remark : null
* cu_arname : 2
* cu_updatedate : null
* cu_regamount : null
* cu_servicecode : null
* cu_arcustcode : null
* cu_sellercode : X0008
* cu_transdate : null
* cu_businessrange : null
*/
@JsonProperty("cu_lastdate")
private String cuLastdate;
@JsonProperty("cu_city")
private Object cuCity;
@JsonProperty("cu_auditdate")
private String cuAuditdate;
@JsonProperty("cu_code")
private String cuCode;
@JsonProperty("cu_taxid")
private Object cuTaxid;
@JsonProperty("cu_initdate")
private Object cuInitdate;
@JsonProperty("cu_shcustname")
private String cuShcustname;
@JsonProperty("cu_auditstatuscode")
private String cuAuditstatuscode;
@JsonProperty("cu_ccoefficient")
private Object cuCcoefficient;
@JsonProperty("cu_payments")
private String cuPayments;
@JsonProperty("cu_currency")
private String cuCurrency;
@JsonProperty("cu_degree")
private Object cuDegree;
@JsonProperty("cu_postalcode")
private Object cuPostalcode;
@JsonProperty("cu_paymentscode")
private String cuPaymentscode;
@JsonProperty("cu_tcoefficient")
private Object cuTcoefficient;
@JsonProperty("cu_rate")
private String cuRate;
@JsonProperty("cu_mobile")
private String cuMobile;
@JsonProperty("cu_agenttype")
private Object cuAgenttype;
@JsonProperty("cu_b2benable")
private String cuB2benable;
@JsonProperty("cu_district")
private Object cuDistrict;
@JsonProperty("cu_enablecredit")
private String cuEnablecredit;
@JsonProperty("cu_country")
private Object cuCountry;
@JsonProperty("cu_businesscode")
private String cuBusinesscode;
@JsonProperty("cu_id")
private String cuId;
@JsonProperty("cu_pricetype")
private Object cuPricetype;
@JsonProperty("cu_email")
private String cuEmail;
@JsonProperty("cu_shcustcode")
private String cuShcustcode;
@JsonProperty("cu_qualitycode")
private Object cuQualitycode;
@JsonProperty("cu_uu")
private Object cuUu;
@JsonProperty("cu_name")
private String cuName;
@JsonProperty("cu_contact")
private String cuContact;
@JsonProperty("cu_shipmentremark")
private Object cuShipmentremark;
@JsonProperty("cu_relatedparty")
private Object cuRelatedparty;
@JsonProperty("cu_arcode")
private String cuArcode;
@JsonProperty("cu_status")
private String cuStatus;
@JsonProperty("cu_tel")
private Object cuTel;
@JsonProperty("cu_auditstatus")
private String cuAuditstatus;
@JsonProperty("cu_paymentid")
private String cuPaymentid;
@JsonProperty("cu_statuscode")
private Object cuStatuscode;
@JsonProperty("cu_add1")
private Object cuAdd1;
@JsonProperty("cu_add2")
private Object cuAdd2;
@JsonProperty("cu_webserver")
private Object cuWebserver;
@JsonProperty("cu_lawman")
private Object cuLawman;
@JsonProperty("cu_credit")
private String cuCredit;
@JsonProperty("cu_province")
private Object cuProvince;
@JsonProperty("cu_sellerid")
private String cuSellerid;
@JsonProperty("cu_auditman")
private String cuAuditman;
@JsonProperty("cu_taxrate")
private String cuTaxrate;
@JsonProperty("cu_invoicetype")
private Object cuInvoicetype;
@JsonProperty("cu_sellername")
private String cuSellername;
@JsonProperty("cu_fax")
private Object cuFax;
@JsonProperty("cu_servicename")
private Object cuServicename;
@JsonProperty("cu_kind")
private String cuKind;
@JsonProperty("cu_attach")
private Object cuAttach;
@JsonProperty("cu_shortname")
private String cuShortname;
@JsonProperty("cu_recorddate")
private String cuRecorddate;
@JsonProperty("cu_shipment")
private Object cuShipment;
@JsonProperty("cu_bankaccount")
private Object cuBankaccount;
@JsonProperty("cu_source")
private Object cuSource;
@JsonProperty("cu_recordman")
private String cuRecordman;
@JsonProperty("cu_salegroup")
private Object cuSalegroup;
@JsonProperty("cu_duedays")
private String cuDuedays;
@JsonProperty("cu_bank")
private Object cuBank;
@JsonProperty("cu_standarddate")
private String cuStandarddate;
@JsonProperty("cu_monthsend")
private String cuMonthsend;
@JsonProperty("cu_remark")
private Object cuRemark;
@JsonProperty("cu_arname")
private String cuArname;
@JsonProperty("cu_updatedate")
private Object cuUpdatedate;
@JsonProperty("cu_regamount")
private Object cuRegamount;
@JsonProperty("cu_servicecode")
private Object cuServicecode;
@JsonProperty("cu_arcustcode")
private Object cuArcustcode;
@JsonProperty("cu_sellercode")
private String cuSellercode;
@JsonProperty("cu_transdate")
private Object cuTransdate;
@JsonProperty("cu_businessrange")
private Object cuBusinessrange;
public String getCuLastdate() {
return cuLastdate;
}
public void setCuLastdate(String cuLastdate) {
this.cuLastdate = cuLastdate;
}
public Object getCuCity() {
return cuCity;
}
public void setCuCity(Object cuCity) {
this.cuCity = cuCity;
}
public String getCuAuditdate() {
return cuAuditdate;
}
public void setCuAuditdate(String cuAuditdate) {
this.cuAuditdate = cuAuditdate;
}
public String getCuCode() {
return cuCode;
}
public void setCuCode(String cuCode) {
this.cuCode = cuCode;
}
public Object getCuTaxid() {
return cuTaxid;
}
public void setCuTaxid(Object cuTaxid) {
this.cuTaxid = cuTaxid;
}
public Object getCuInitdate() {
return cuInitdate;
}
public void setCuInitdate(Object cuInitdate) {
this.cuInitdate = cuInitdate;
}
public String getCuShcustname() {
return cuShcustname;
}
public void setCuShcustname(String cuShcustname) {
this.cuShcustname = cuShcustname;
}
public String getCuAuditstatuscode() {
return cuAuditstatuscode;
}
public void setCuAuditstatuscode(String cuAuditstatuscode) {
this.cuAuditstatuscode = cuAuditstatuscode;
}
public Object getCuCcoefficient() {
return cuCcoefficient;
}
public void setCuCcoefficient(Object cuCcoefficient) {
this.cuCcoefficient = cuCcoefficient;
}
public String getCuPayments() {
return cuPayments;
}
public void setCuPayments(String cuPayments) {
this.cuPayments = cuPayments;
}
public String getCuCurrency() {
return cuCurrency;
}
public void setCuCurrency(String cuCurrency) {
this.cuCurrency = cuCurrency;
}
public Object getCuDegree() {
return cuDegree;
}
public void setCuDegree(Object cuDegree) {
this.cuDegree = cuDegree;
}
public Object getCuPostalcode() {
return cuPostalcode;
}
public void setCuPostalcode(Object cuPostalcode) {
this.cuPostalcode = cuPostalcode;
}
public String getCuPaymentscode() {
return cuPaymentscode;
}
public void setCuPaymentscode(String cuPaymentscode) {
this.cuPaymentscode = cuPaymentscode;
}
public Object getCuTcoefficient() {
return cuTcoefficient;
}
public void setCuTcoefficient(Object cuTcoefficient) {
this.cuTcoefficient = cuTcoefficient;
}
public String getCuRate() {
return cuRate;
}
public void setCuRate(String cuRate) {
this.cuRate = cuRate;
}
public String getCuMobile() {
return cuMobile;
}
public void setCuMobile(String cuMobile) {
this.cuMobile = cuMobile;
}
public Object getCuAgenttype() {
return cuAgenttype;
}
public void setCuAgenttype(Object cuAgenttype) {
this.cuAgenttype = cuAgenttype;
}
public String getCuB2benable() {
return cuB2benable;
}
public void setCuB2benable(String cuB2benable) {
this.cuB2benable = cuB2benable;
}
public Object getCuDistrict() {
return cuDistrict;
}
public void setCuDistrict(Object cuDistrict) {
this.cuDistrict = cuDistrict;
}
public String getCuEnablecredit() {
return cuEnablecredit;
}
public void setCuEnablecredit(String cuEnablecredit) {
this.cuEnablecredit = cuEnablecredit;
}
public Object getCuCountry() {
return cuCountry;
}
public void setCuCountry(Object cuCountry) {
this.cuCountry = cuCountry;
}
public String getCuBusinesscode() {
return cuBusinesscode;
}
public void setCuBusinesscode(String cuBusinesscode) {
this.cuBusinesscode = cuBusinesscode;
}
public String getCuId() {
return cuId;
}
public void setCuId(String cuId) {
this.cuId = cuId;
}
public Object getCuPricetype() {
return cuPricetype;
}
public void setCuPricetype(Object cuPricetype) {
this.cuPricetype = cuPricetype;
}
public String getCuEmail() {
return cuEmail;
}
public void setCuEmail(String cuEmail) {
this.cuEmail = cuEmail;
}
public String getCuShcustcode() {
return cuShcustcode;
}
public void setCuShcustcode(String cuShcustcode) {
this.cuShcustcode = cuShcustcode;
}
public Object getCuQualitycode() {
return cuQualitycode;
}
public void setCuQualitycode(Object cuQualitycode) {
this.cuQualitycode = cuQualitycode;
}
public Object getCuUu() {
return cuUu;
}
public void setCuUu(Object cuUu) {
this.cuUu = cuUu;
}
public String getCuName() {
return cuName;
}
public void setCuName(String cuName) {
this.cuName = cuName;
}
public String getCuContact() {
return cuContact;
}
public void setCuContact(String cuContact) {
this.cuContact = cuContact;
}
public Object getCuShipmentremark() {
return cuShipmentremark;
}
public void setCuShipmentremark(Object cuShipmentremark) {
this.cuShipmentremark = cuShipmentremark;
}
public Object getCuRelatedparty() {
return cuRelatedparty;
}
public void setCuRelatedparty(Object cuRelatedparty) {
this.cuRelatedparty = cuRelatedparty;
}
public String getCuArcode() {
return cuArcode;
}
public void setCuArcode(String cuArcode) {
this.cuArcode = cuArcode;
}
public String getCuStatus() {
return cuStatus;
}
public void setCuStatus(String cuStatus) {
this.cuStatus = cuStatus;
}
public Object getCuTel() {
return cuTel;
}
public void setCuTel(Object cuTel) {
this.cuTel = cuTel;
}
public String getCuAuditstatus() {
return cuAuditstatus;
}
public void setCuAuditstatus(String cuAuditstatus) {
this.cuAuditstatus = cuAuditstatus;
}
public String getCuPaymentid() {
return cuPaymentid;
}
public void setCuPaymentid(String cuPaymentid) {
this.cuPaymentid = cuPaymentid;
}
public Object getCuStatuscode() {
return cuStatuscode;
}
public void setCuStatuscode(Object cuStatuscode) {
this.cuStatuscode = cuStatuscode;
}
public Object getCuAdd1() {
return cuAdd1;
}
public void setCuAdd1(Object cuAdd1) {
this.cuAdd1 = cuAdd1;
}
public Object getCuAdd2() {
return cuAdd2;
}
public void setCuAdd2(Object cuAdd2) {
this.cuAdd2 = cuAdd2;
}
public Object getCuWebserver() {
return cuWebserver;
}
public void setCuWebserver(Object cuWebserver) {
this.cuWebserver = cuWebserver;
}
public Object getCuLawman() {
return cuLawman;
}
public void setCuLawman(Object cuLawman) {
this.cuLawman = cuLawman;
}
public String getCuCredit() {
return cuCredit;
}
public void setCuCredit(String cuCredit) {
this.cuCredit = cuCredit;
}
public Object getCuProvince() {
return cuProvince;
}
public void setCuProvince(Object cuProvince) {
this.cuProvince = cuProvince;
}
public String getCuSellerid() {
return cuSellerid;
}
public void setCuSellerid(String cuSellerid) {
this.cuSellerid = cuSellerid;
}
public String getCuAuditman() {
return cuAuditman;
}
public void setCuAuditman(String cuAuditman) {
this.cuAuditman = cuAuditman;
}
public String getCuTaxrate() {
return cuTaxrate;
}
public void setCuTaxrate(String cuTaxrate) {
this.cuTaxrate = cuTaxrate;
}
public Object getCuInvoicetype() {
return cuInvoicetype;
}
public void setCuInvoicetype(Object cuInvoicetype) {
this.cuInvoicetype = cuInvoicetype;
}
public String getCuSellername() {
return cuSellername;
}
public void setCuSellername(String cuSellername) {
this.cuSellername = cuSellername;
}
public Object getCuFax() {
return cuFax;
}
public void setCuFax(Object cuFax) {
this.cuFax = cuFax;
}
public Object getCuServicename() {
return cuServicename;
}
public void setCuServicename(Object cuServicename) {
this.cuServicename = cuServicename;
}
public String getCuKind() {
return cuKind;
}
public void setCuKind(String cuKind) {
this.cuKind = cuKind;
}
public Object getCuAttach() {
return cuAttach;
}
public void setCuAttach(Object cuAttach) {
this.cuAttach = cuAttach;
}
public String getCuShortname() {
return cuShortname;
}
public void setCuShortname(String cuShortname) {
this.cuShortname = cuShortname;
}
public String getCuRecorddate() {
return cuRecorddate;
}
public void setCuRecorddate(String cuRecorddate) {
this.cuRecorddate = cuRecorddate;
}
public Object getCuShipment() {
return cuShipment;
}
public void setCuShipment(Object cuShipment) {
this.cuShipment = cuShipment;
}
public Object getCuBankaccount() {
return cuBankaccount;
}
public void setCuBankaccount(Object cuBankaccount) {
this.cuBankaccount = cuBankaccount;
}
public Object getCuSource() {
return cuSource;
}
public void setCuSource(Object cuSource) {
this.cuSource = cuSource;
}
public String getCuRecordman() {
return cuRecordman;
}
public void setCuRecordman(String cuRecordman) {
this.cuRecordman = cuRecordman;
}
public Object getCuSalegroup() {
return cuSalegroup;
}
public void setCuSalegroup(Object cuSalegroup) {
this.cuSalegroup = cuSalegroup;
}
public String getCuDuedays() {
return cuDuedays;
}
public void setCuDuedays(String cuDuedays) {
this.cuDuedays = cuDuedays;
}
public Object getCuBank() {
return cuBank;
}
public void setCuBank(Object cuBank) {
this.cuBank = cuBank;
}
public String getCuStandarddate() {
return cuStandarddate;
}
public void setCuStandarddate(String cuStandarddate) {
this.cuStandarddate = cuStandarddate;
}
public String getCuMonthsend() {
return cuMonthsend;
}
public void setCuMonthsend(String cuMonthsend) {
this.cuMonthsend = cuMonthsend;
}
public Object getCuRemark() {
return cuRemark;
}
public void setCuRemark(Object cuRemark) {
this.cuRemark = cuRemark;
}
public String getCuArname() {
return cuArname;
}
public void setCuArname(String cuArname) {
this.cuArname = cuArname;
}
public Object getCuUpdatedate() {
return cuUpdatedate;
}
public void setCuUpdatedate(Object cuUpdatedate) {
this.cuUpdatedate = cuUpdatedate;
}
public Object getCuRegamount() {
return cuRegamount;
}
public void setCuRegamount(Object cuRegamount) {
this.cuRegamount = cuRegamount;
}
public Object getCuServicecode() {
return cuServicecode;
}
public void setCuServicecode(Object cuServicecode) {
this.cuServicecode = cuServicecode;
}
public Object getCuArcustcode() {
return cuArcustcode;
}
public void setCuArcustcode(Object cuArcustcode) {
this.cuArcustcode = cuArcustcode;
}
public String getCuSellercode() {
return cuSellercode;
}
public void setCuSellercode(String cuSellercode) {
this.cuSellercode = cuSellercode;
}
public Object getCuTransdate() {
return cuTransdate;
}
public void setCuTransdate(Object cuTransdate) {
this.cuTransdate = cuTransdate;
}
public Object getCuBusinessrange() {
return cuBusinessrange;
}
public void setCuBusinessrange(Object cuBusinessrange) {
this.cuBusinessrange = cuBusinessrange;
}
}
}

View File

@ -1,597 +0,0 @@
package com.zzjee.wmutil.dsc;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
public class customerListRes {
@JsonProperty("result")
private String result;
@JsonProperty("error")
private int error;
@JsonProperty("msg")
private String msg;
@JsonProperty("info")
private InfoBean info;
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public int getError() {
return error;
}
public void setError(int error) {
this.error = error;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public InfoBean getInfo() {
return info;
}
public void setInfo(InfoBean info) {
this.info = info;
}
public static class InfoBean {
/**
* list : [{"user_id":"68","aite_id":"","email":"1491748198@qq.com","user_name":"8569326","nick_name":"","password":"e10adc3949ba59abbe56e057f20f883e","question":"","answer":"","sex":"2","birthday":"0000-00-00","user_money":"0.00","frozen_money":"0.00","pay_points":"0","rank_points":"0","address_id":"0","reg_time":"1575584970","last_login":"0","last_time":"0000-00-00 00:00:00","last_ip":"","visit_count":"0","user_rank":"0","is_special":"0","ec_salt":null,"salt":"0","parent_id":"0","flag":"0","alias":"","msn":"","qq":"","office_phone":"","home_phone":"","mobile_phone":"","is_validated":"0","credit_line":"0.00","passwd_question":"","passwd_answer":"","user_picture":"","old_user_picture":"","report_time":"0","drp_parent_id":"0"},{"user_id":"69","aite_id":"","email":"","user_name":"123456789","nick_name":"7362385-375417","password":"be6ee1380e61c346b28c45a1df1c7aeb","question":"","answer":"","sex":"0","birthday":"0000-00-00","user_money":"0.00","frozen_money":"0.00","pay_points":"0","rank_points":"0","address_id":"2","reg_time":"1576708778","last_login":"1576708801","last_time":"0000-00-00 00:00:00","last_ip":"111.121.0.220","visit_count":"2","user_rank":"6","is_special":"0","ec_salt":"8461","salt":"0","parent_id":"0","flag":"0","alias":"","msn":"","qq":"","office_phone":"","home_phone":"","mobile_phone":"13623826364","is_validated":"0","credit_line":"0.00","passwd_question":null,"passwd_answer":null,"user_picture":"","old_user_picture":"","report_time":"0","drp_parent_id":"0"}]
* filter : {"page":1,"page_size":15,"record_count":"2","page_count":1}
* page_count : 1
* record_count : 2
*/
@JsonProperty("filter")
private FilterBean filter;
@JsonProperty("page_count")
private int pageCount;
@JsonProperty("record_count")
private String recordCount;
@JsonProperty("list")
private List<ListBean> list;
public FilterBean getFilter() {
return filter;
}
public void setFilter(FilterBean filter) {
this.filter = filter;
}
public int getPageCount() {
return pageCount;
}
public void setPageCount(int pageCount) {
this.pageCount = pageCount;
}
public String getRecordCount() {
return recordCount;
}
public void setRecordCount(String recordCount) {
this.recordCount = recordCount;
}
public List<ListBean> getList() {
return list;
}
public void setList(List<ListBean> list) {
this.list = list;
}
public static class FilterBean {
/**
* page : 1
* page_size : 15
* record_count : 2
* page_count : 1
*/
@JsonProperty("page")
private int page;
@JsonProperty("page_size")
private int pageSize;
@JsonProperty("record_count")
private String recordCount;
@JsonProperty("page_count")
private int pageCount;
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public String getRecordCount() {
return recordCount;
}
public void setRecordCount(String recordCount) {
this.recordCount = recordCount;
}
public int getPageCount() {
return pageCount;
}
public void setPageCount(int pageCount) {
this.pageCount = pageCount;
}
}
public static class ListBean {
/**
* user_id : 68
* aite_id :
* email : 1491748198@qq.com
* user_name : 8569326
* nick_name :
* password : e10adc3949ba59abbe56e057f20f883e
* question :
* answer :
* sex : 2
* birthday : 0000-00-00
* user_money : 0.00
* frozen_money : 0.00
* pay_points : 0
* rank_points : 0
* address_id : 0
* reg_time : 1575584970
* last_login : 0
* last_time : 0000-00-00 00:00:00
* last_ip :
* visit_count : 0
* user_rank : 0
* is_special : 0
* ec_salt : null
* salt : 0
* parent_id : 0
* flag : 0
* alias :
* msn :
* qq :
* office_phone :
* home_phone :
* mobile_phone :
* is_validated : 0
* credit_line : 0.00
* passwd_question :
* passwd_answer :
* user_picture :
* old_user_picture :
* report_time : 0
* drp_parent_id : 0
*/
@JsonProperty("user_id")
private String userId;
@JsonProperty("aite_id")
private String aiteId;
@JsonProperty("email")
private String email;
@JsonProperty("user_name")
private String userName;
@JsonProperty("nick_name")
private String nickName;
@JsonProperty("password")
private String password;
@JsonProperty("question")
private String question;
@JsonProperty("answer")
private String answer;
@JsonProperty("sex")
private String sex;
@JsonProperty("birthday")
private String birthday;
@JsonProperty("user_money")
private String userMoney;
@JsonProperty("frozen_money")
private String frozenMoney;
@JsonProperty("pay_points")
private String payPoints;
@JsonProperty("rank_points")
private String rankPoints;
@JsonProperty("address_id")
private String addressId;
@JsonProperty("reg_time")
private String regTime;
@JsonProperty("last_login")
private String lastLogin;
@JsonProperty("last_time")
private String lastTime;
@JsonProperty("last_ip")
private String lastIp;
@JsonProperty("visit_count")
private String visitCount;
@JsonProperty("user_rank")
private String userRank;
@JsonProperty("is_special")
private String isSpecial;
@JsonProperty("ec_salt")
private Object ecSalt;
@JsonProperty("salt")
private String salt;
@JsonProperty("parent_id")
private String parentId;
@JsonProperty("flag")
private String flag;
@JsonProperty("alias")
private String alias;
@JsonProperty("msn")
private String msn;
@JsonProperty("qq")
private String qq;
@JsonProperty("office_phone")
private String officePhone;
@JsonProperty("home_phone")
private String homePhone;
@JsonProperty("mobile_phone")
private String mobilePhone;
@JsonProperty("is_validated")
private String isValidated;
@JsonProperty("credit_line")
private String creditLine;
@JsonProperty("passwd_question")
private String passwdQuestion;
@JsonProperty("passwd_answer")
private String passwdAnswer;
@JsonProperty("user_picture")
private String userPicture;
@JsonProperty("old_user_picture")
private String oldUserPicture;
@JsonProperty("report_time")
private String reportTime;
@JsonProperty("drp_parent_id")
private String drpParentId;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getAiteId() {
return aiteId;
}
public void setAiteId(String aiteId) {
this.aiteId = aiteId;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getNickName() {
return nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getBirthday() {
return birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getUserMoney() {
return userMoney;
}
public void setUserMoney(String userMoney) {
this.userMoney = userMoney;
}
public String getFrozenMoney() {
return frozenMoney;
}
public void setFrozenMoney(String frozenMoney) {
this.frozenMoney = frozenMoney;
}
public String getPayPoints() {
return payPoints;
}
public void setPayPoints(String payPoints) {
this.payPoints = payPoints;
}
public String getRankPoints() {
return rankPoints;
}
public void setRankPoints(String rankPoints) {
this.rankPoints = rankPoints;
}
public String getAddressId() {
return addressId;
}
public void setAddressId(String addressId) {
this.addressId = addressId;
}
public String getRegTime() {
return regTime;
}
public void setRegTime(String regTime) {
this.regTime = regTime;
}
public String getLastLogin() {
return lastLogin;
}
public void setLastLogin(String lastLogin) {
this.lastLogin = lastLogin;
}
public String getLastTime() {
return lastTime;
}
public void setLastTime(String lastTime) {
this.lastTime = lastTime;
}
public String getLastIp() {
return lastIp;
}
public void setLastIp(String lastIp) {
this.lastIp = lastIp;
}
public String getVisitCount() {
return visitCount;
}
public void setVisitCount(String visitCount) {
this.visitCount = visitCount;
}
public String getUserRank() {
return userRank;
}
public void setUserRank(String userRank) {
this.userRank = userRank;
}
public String getIsSpecial() {
return isSpecial;
}
public void setIsSpecial(String isSpecial) {
this.isSpecial = isSpecial;
}
public Object getEcSalt() {
return ecSalt;
}
public void setEcSalt(Object ecSalt) {
this.ecSalt = ecSalt;
}
public String getSalt() {
return salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public String getAlias() {
return alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
public String getMsn() {
return msn;
}
public void setMsn(String msn) {
this.msn = msn;
}
public String getQq() {
return qq;
}
public void setQq(String qq) {
this.qq = qq;
}
public String getOfficePhone() {
return officePhone;
}
public void setOfficePhone(String officePhone) {
this.officePhone = officePhone;
}
public String getHomePhone() {
return homePhone;
}
public void setHomePhone(String homePhone) {
this.homePhone = homePhone;
}
public String getMobilePhone() {
return mobilePhone;
}
public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}
public String getIsValidated() {
return isValidated;
}
public void setIsValidated(String isValidated) {
this.isValidated = isValidated;
}
public String getCreditLine() {
return creditLine;
}
public void setCreditLine(String creditLine) {
this.creditLine = creditLine;
}
public String getPasswdQuestion() {
return passwdQuestion;
}
public void setPasswdQuestion(String passwdQuestion) {
this.passwdQuestion = passwdQuestion;
}
public String getPasswdAnswer() {
return passwdAnswer;
}
public void setPasswdAnswer(String passwdAnswer) {
this.passwdAnswer = passwdAnswer;
}
public String getUserPicture() {
return userPicture;
}
public void setUserPicture(String userPicture) {
this.userPicture = userPicture;
}
public String getOldUserPicture() {
return oldUserPicture;
}
public void setOldUserPicture(String oldUserPicture) {
this.oldUserPicture = oldUserPicture;
}
public String getReportTime() {
return reportTime;
}
public void setReportTime(String reportTime) {
this.reportTime = reportTime;
}
public String getDrpParentId() {
return drpParentId;
}
public void setDrpParentId(String drpParentId) {
this.drpParentId = drpParentId;
}
}
}
}

View File

@ -1,291 +0,0 @@
package com.zzjee.wmutil.dsc;
import com.xiaoleilu.hutool.http.HttpUtil;
import com.zzjee.md.entity.MdCusOtherEntity;
import com.zzjee.md.entity.MdGoodsEntity;
import com.zzjee.md.entity.MvGoodsEntity;
import com.zzjee.wm.entity.WmOmNoticeHEntity;
import com.zzjee.wm.entity.WmOmNoticeIEntity;
import com.zzjee.wm.service.WmOmNoticeHServiceI;
import com.zzjee.wmutil.uasloginres;
import com.zzjee.wmutil.wmUtil;
import org.jeecgframework.core.util.*;
import org.jeecgframework.web.system.service.SystemService;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class dscUtil {
// dsc.user.list.get
// page Number 可选 1 默认 列表分页当前页
// page_size Number 可选 15 默认 列表分页每页显示条数
// format type 必须 json json或xml 接口类型
// dsc.goods.list.get
public static void updateGoodsFromDsc(){
String res = getGoods("1");
System.out.println(res);
int pagecount = 1;
goodsListRes reslist = JSONHelper.fromJsonToObject(res,goodsListRes.class);
savegoodstowm(reslist);
pagecount = reslist.getInfo().getPageCount();
for(int i =2;i<=pagecount;i++){
String page = Integer.toString(i);
res = getGoods(page);
reslist = JSONHelper.fromJsonToObject(res,goodsListRes.class);
savegoodstowm(reslist);
}
}
public static void updateCusFromDsc(){
String res = getCustomer("1");
System.out.println(res);
int pagecount = 1;
customerListRes reslist = JSONHelper.fromJsonToObject(res,customerListRes.class);
saveothercustowm(reslist);
pagecount = reslist.getInfo().getPageCount();
for(int i =2;i<=pagecount;i++){
String page = Integer.toString(i);
res = getGoods(page);
reslist = JSONHelper.fromJsonToObject(res,customerListRes.class);
saveothercustowm(reslist);
}
}
public static void updateorderFromDsc(){
String res = getOrderList("1","","");
System.out.println(res);
int pagecount = 1;
orderListRes reslist = JSONHelper.fromJsonToObject(res,orderListRes.class);
saveordertowm(reslist);
pagecount = reslist.getInfo().getPageCount();
for(int i =2;i<=pagecount;i++){
String page = Integer.toString(i);
res = getOrderList(page,"","");
reslist = JSONHelper.fromJsonToObject(res,orderListRes.class);
saveordertowm(reslist);
}
}
public static String getGoods(String page){
String baseurl = ResourceUtil.getConfigByName("dsc.url");
Map<String, Object> paramMap = getbasepara();
paramMap.put("method","dsc.goods.list.get");
paramMap.put("page",page);
String res = HttpUtil.get(baseurl,paramMap);
return res;
}
public static String getCustomer(String page){
String baseurl = ResourceUtil.getConfigByName("dsc.url");
Map<String, Object> paramMap = getbasepara();
paramMap.put("method","dsc.user.list.get");
paramMap.put("page",page);
String res = HttpUtil.get(baseurl,paramMap);
return res;
}
public static String getOrderList(String page,String startAddTime,String endAddTime){
String baseurl = ResourceUtil.getConfigByName("dsc.url");
Map<String, Object> paramMap = getbasepara();
paramMap.put("method","dsc.order.list.get");
paramMap.put("page",page);
if(StringUtil.isNotEmpty(startAddTime)){
paramMap.put("start_add_time",startAddTime);
}
if(StringUtil.isNotEmpty(endAddTime)){
paramMap.put("end_add_time",endAddTime);
}
// paramMap.put("order_status","1");//只取已确认的订单
String res = HttpUtil.get(baseurl,paramMap);
return res;
}
public static String getOrder(String orderSn){
String baseurl = ResourceUtil.getConfigByName("dsc.url");
Map<String, Object> paramMap = getbasepara();
paramMap.put("method","dsc.order.info.get");
paramMap.put("order_sn",orderSn);
String res = HttpUtil.get(baseurl,paramMap);
return res;
}
public static String getOrderGoods(String orderId){
String baseurl = ResourceUtil.getConfigByName("dsc.url");
Map<String, Object> paramMap = getbasepara();
paramMap.put("method","dsc.order.goods.list.get");
paramMap.put("order_id",orderId);
String res = HttpUtil.get(baseurl,paramMap);
return res;
}
public static void savegoodstowm(goodsListRes reslist){
String cusCode = ResourceUtil.getConfigByName("dsc.cuscode");
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
for( goodsListRes.InfoBean.ListBean t:reslist.getInfo().getList()){
try{
MdGoodsEntity mdgoos = systemService.findUniqueByProperty(MdGoodsEntity.class,"shpBianMakh",t.getGoodsSn());
if(mdgoos==null){
mdgoos = new MdGoodsEntity();
}
mdgoos.setSuoShuKeHu(cusCode);
mdgoos.setShpBianMakh(t.getGoodsSn());
mdgoos.setShpBianMa(t.getGoodsSn());
mdgoos.setShpMingCheng(unicodeDecode(t.getGoodsName()));
mdgoos.setShpTiaoMa(t.getBarCode());
mdgoos.setChlKongZhi("N");
mdgoos.setChlShl("1");
mdgoos.setShlDanWei("个");
mdgoos.setJshDanWei("个");
mdgoos.setBzhiQi("360");
mdgoos.setChpShuXing(t.getCatId());
mdgoos.setCfWenCeng("常温");
systemService.saveOrUpdate(mdgoos);
}catch (Exception e){
}
}
}
public static void saveothercustowm(customerListRes reslist){
String cusCode = ResourceUtil.getConfigByName("dsc.cuscode");
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
for( customerListRes.InfoBean.ListBean t:reslist.getInfo().getList()){
try{
MdCusOtherEntity md = systemService.findUniqueByProperty(MdCusOtherEntity.class,"keHuBianMa",t.getUserId());
if(md==null){
md = new MdCusOtherEntity();
}
md.setSuoShuKeHu(cusCode);
md.setKeHuBianMa(t.getUserId());
md.setZhongWenQch(unicodeDecode(t.getUserName()+t.getNickName()));
md.setDianHua(t.getMobilePhone());
systemService.saveOrUpdate(md);
}catch (Exception e){
}
}
}
public static void saveordertowm(orderListRes reslist){
String cusCode = ResourceUtil.getConfigByName("dsc.cuscode");
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
for( orderListRes.InfoBean.ListBean t:reslist.getInfo().getList()){
try{
String orderSn = t.getOrderSn();
String orderRes = getOrder(orderSn);
orderRes order = JSONHelper.fromJsonToObject(orderRes,orderRes.class);
saveOneOrder(order);
}catch (Exception e){
}
}
}
public static void saveOneOrder(orderRes orderhead) {
String cusCode = ResourceUtil.getConfigByName("dsc.cuscode");
String imcuscode = orderhead.getInfo().getOrderSn();
String order_id =orderhead.getInfo().getOrderId();
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
WmOmNoticeHServiceI wmOmNoticeHService =ApplicationContextUtil.getContext().getBean(WmOmNoticeHServiceI.class);
WmOmNoticeHEntity wmimh = systemService.findUniqueByProperty(WmOmNoticeHEntity.class, "imCusCode", imcuscode);
if (wmimh == null) {
WmOmNoticeHEntity wmOmNoticeH = new WmOmNoticeHEntity();
List<WmOmNoticeIEntity> wmomNoticeIListnew = new ArrayList<WmOmNoticeIEntity>();
wmOmNoticeH.setOrderTypeCode("11");
wmOmNoticeH.setCusCode(cusCode);
String noticeid = wmUtil.getNextomNoticeId(wmOmNoticeH.getOrderTypeCode());
wmOmNoticeH.setOmNoticeId(noticeid);
wmOmNoticeH.setOcusCode(orderhead.getInfo().getUserId());
MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", wmOmNoticeH.getOcusCode());
if (mdcusother != null) {
wmOmNoticeH.setOcusName(mdcusother.getZhongWenQch());
}
wmOmNoticeH.setImCusCode(imcuscode);
wmOmNoticeH.setOmBeizhu(orderhead.getInfo().getHowOos());
wmOmNoticeH.setDelvMember(orderhead.getInfo().getConsignee());
wmOmNoticeH.setDelvMobile(orderhead.getInfo().getMobile());
wmOmNoticeH.setDelvAddr(orderhead.getInfo().getAddress());
String orderGoodsRes = getOrderGoods(order_id);
orderGoodsRes orderGoods = JSONHelper.fromJsonToObject(orderGoodsRes,orderGoodsRes.class);
for(com.zzjee.wmutil.dsc.orderGoodsRes.InfoBean.ListBean t:orderGoods.getInfo().getList()){
WmOmNoticeIEntity wmi = new WmOmNoticeIEntity();
wmi.setGoodsId(t.getGoodsId());
MvGoodsEntity mvgoods = systemService.findUniqueByProperty(MvGoodsEntity.class, "goodsCode", wmi.getGoodsId());
if (mvgoods != null) {
wmi.setGoodsName(mvgoods.getGoodsName());
wmi.setGoodsUnit(mvgoods.getShlDanWei());
}
// wmi.setGoodsProData(DateUtils.str2Date(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate(), DateUtils.date_sdf));
wmi.setGoodsQua(t.getGoodsNumber());
// wmi.setGoodsPrdData(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate2User());
wmi.setOtherId(t.getRecId());
wmomNoticeIListnew.add(wmi);
}
// for (int k = 0; k <order.getInfo().; k++) {
// WmOmNoticeIEntity wmi = new WmOmNoticeIEntity();
// wmi.setGoodsId(billResult.getData().get(s).getDetail().get(k).getPdProdcode());
// MvGoodsEntity mvgoods = systemService.findUniqueByProperty(MvGoodsEntity.class, "goodsCode", wmi.getGoodsId());
// if (mvgoods != null) {
// wmi.setGoodsName(mvgoods.getGoodsName());
// wmi.setGoodsUnit(mvgoods.getShlDanWei());
// }
//// wmi.setGoodsProData(DateUtils.str2Date(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate(), DateUtils.date_sdf));
// wmi.setGoodsQua(Integer.toString(billResult.getData().get(s).getDetail().get(k).getPdPurcoutqty()));
//// wmi.setGoodsPrdData(billResult.getData().get(s).getDetail().get(k).getPdProdmadedate2User());
// wmi.setOtherId(Integer.toString(billResult.getData().get(s).getDetail().get(k).getPdPdno()));
//
// wmomNoticeIListnew.add(wmi);
// }
wmOmNoticeHService.addMain(wmOmNoticeH, wmomNoticeIListnew);
}
}
public static Map<String, Object> getbasepara(){
Map<String, Object> paramMap = new HashMap<>();
String baseukey = ResourceUtil.getConfigByName("dsc.key");
paramMap.put("app_key",baseukey);
paramMap.put("format","json");
return paramMap;
}
/**
* @Title: unicodeDecode
* @Description: unicode
* @param str
* @return
*/
public static String unicodeDecode(String string) {
Pattern pattern = Pattern.compile("(\\\\u(\\p{XDigit}{4}))");
Matcher matcher = pattern.matcher(string);
char ch;
while (matcher.find()) {
ch = (char) Integer.parseInt(matcher.group(2), 16);
string = string.replace(matcher.group(1), ch + "");
}
return string;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,515 +0,0 @@
package com.zzjee.wmutil.dsc;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
public class orderGoodsRes {
/**
* result : success
* error : 0
* msg :
* info : {"list":[{"rec_id":"6","order_id":"9","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"923","goods_name":"YSL/圣罗兰 莹亮纯魅唇膏","goods_sn":"ECS000923","product_id":"0","goods_number":"2","market_price":"320.00","goods_price":"171.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"1","area_id":"4","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"},{"rec_id":"7","order_id":"10","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"922","goods_name":"MAC/魅可 立体绒光修容饼","goods_sn":"ECS000922","product_id":"0","goods_number":"10","market_price":"340.00","goods_price":"173.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"0","area_id":"0","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"},{"rec_id":"8","order_id":"17","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"2345","goods_name":"爱他美3段婴儿奶粉900克","goods_sn":"PGT002345","product_id":"0","goods_number":"1","market_price":"111.60","goods_price":"93.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"0","area_id":"0","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"}],"filter":{"page":1,"page_size":15,"record_count":"3","page_count":1},"page_count":1,"record_count":"3"}
*/
@JsonProperty("result")
private String result;
@JsonProperty("error")
private int error;
@JsonProperty("msg")
private String msg;
@JsonProperty("info")
private InfoBean info;
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public int getError() {
return error;
}
public void setError(int error) {
this.error = error;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public InfoBean getInfo() {
return info;
}
public void setInfo(InfoBean info) {
this.info = info;
}
public static class InfoBean {
/**
* list : [{"rec_id":"6","order_id":"9","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"923","goods_name":"YSL/圣罗兰 莹亮纯魅唇膏","goods_sn":"ECS000923","product_id":"0","goods_number":"2","market_price":"320.00","goods_price":"171.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"1","area_id":"4","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"},{"rec_id":"7","order_id":"10","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"922","goods_name":"MAC/魅可 立体绒光修容饼","goods_sn":"ECS000922","product_id":"0","goods_number":"10","market_price":"340.00","goods_price":"173.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"0","area_id":"0","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"},{"rec_id":"8","order_id":"17","order_sn":null,"user_id":"0","cart_recid":"","goods_id":"2345","goods_name":"爱他美3段婴儿奶粉900克","goods_sn":"PGT002345","product_id":"0","goods_number":"1","market_price":"111.60","goods_price":"93.00","goods_attr":"","send_number":"0","is_real":"1","extension_code":"","parent_id":"0","is_gift":"0","model_attr":"0","goods_attr_id":"","ru_id":"0","shopping_fee":"0.00","warehouse_id":"0","area_id":"0","is_single":"0","freight":"0","tid":"0","shipping_fee":"0.00","drp_money":"0.00","is_distribution":"0","commission_rate":"0","stages_qishu":"-1"}]
* filter : {"page":1,"page_size":15,"record_count":"3","page_count":1}
* page_count : 1
* record_count : 3
*/
@JsonProperty("filter")
private FilterBean filter;
@JsonProperty("page_count")
private int pageCount;
@JsonProperty("record_count")
private String recordCount;
@JsonProperty("list")
private List<ListBean> list;
public FilterBean getFilter() {
return filter;
}
public void setFilter(FilterBean filter) {
this.filter = filter;
}
public int getPageCount() {
return pageCount;
}
public void setPageCount(int pageCount) {
this.pageCount = pageCount;
}
public String getRecordCount() {
return recordCount;
}
public void setRecordCount(String recordCount) {
this.recordCount = recordCount;
}
public List<ListBean> getList() {
return list;
}
public void setList(List<ListBean> list) {
this.list = list;
}
public static class FilterBean {
/**
* page : 1
* page_size : 15
* record_count : 3
* page_count : 1
*/
@JsonProperty("page")
private int page;
@JsonProperty("page_size")
private int pageSize;
@JsonProperty("record_count")
private String recordCount;
@JsonProperty("page_count")
private int pageCount;
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public String getRecordCount() {
return recordCount;
}
public void setRecordCount(String recordCount) {
this.recordCount = recordCount;
}
public int getPageCount() {
return pageCount;
}
public void setPageCount(int pageCount) {
this.pageCount = pageCount;
}
}
public static class ListBean {
/**
* rec_id : 6
* order_id : 9
* order_sn : null
* user_id : 0
* cart_recid :
* goods_id : 923
* goods_name : YSL/
* goods_sn : ECS000923
* product_id : 0
* goods_number : 2
* market_price : 320.00
* goods_price : 171.00
* goods_attr :
* send_number : 0
* is_real : 1
* extension_code :
* parent_id : 0
* is_gift : 0
* model_attr : 0
* goods_attr_id :
* ru_id : 0
* shopping_fee : 0.00
* warehouse_id : 1
* area_id : 4
* is_single : 0
* freight : 0
* tid : 0
* shipping_fee : 0.00
* drp_money : 0.00
* is_distribution : 0
* commission_rate : 0
* stages_qishu : -1
*/
@JsonProperty("rec_id")
private String recId;
@JsonProperty("order_id")
private String orderId;
@JsonProperty("order_sn")
private Object orderSn;
@JsonProperty("user_id")
private String userId;
@JsonProperty("cart_recid")
private String cartRecid;
@JsonProperty("goods_id")
private String goodsId;
@JsonProperty("goods_name")
private String goodsName;
@JsonProperty("goods_sn")
private String goodsSn;
@JsonProperty("product_id")
private String productId;
@JsonProperty("goods_number")
private String goodsNumber;
@JsonProperty("market_price")
private String marketPrice;
@JsonProperty("goods_price")
private String goodsPrice;
@JsonProperty("goods_attr")
private String goodsAttr;
@JsonProperty("send_number")
private String sendNumber;
@JsonProperty("is_real")
private String isReal;
@JsonProperty("extension_code")
private String extensionCode;
@JsonProperty("parent_id")
private String parentId;
@JsonProperty("is_gift")
private String isGift;
@JsonProperty("model_attr")
private String modelAttr;
@JsonProperty("goods_attr_id")
private String goodsAttrId;
@JsonProperty("ru_id")
private String ruId;
@JsonProperty("shopping_fee")
private String shoppingFee;
@JsonProperty("warehouse_id")
private String warehouseId;
@JsonProperty("area_id")
private String areaId;
@JsonProperty("is_single")
private String isSingle;
@JsonProperty("freight")
private String freight;
@JsonProperty("tid")
private String tid;
@JsonProperty("shipping_fee")
private String shippingFee;
@JsonProperty("drp_money")
private String drpMoney;
@JsonProperty("is_distribution")
private String isDistribution;
@JsonProperty("commission_rate")
private String commissionRate;
@JsonProperty("stages_qishu")
private String stagesQishu;
public String getRecId() {
return recId;
}
public void setRecId(String recId) {
this.recId = recId;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Object getOrderSn() {
return orderSn;
}
public void setOrderSn(Object orderSn) {
this.orderSn = orderSn;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getCartRecid() {
return cartRecid;
}
public void setCartRecid(String cartRecid) {
this.cartRecid = cartRecid;
}
public String getGoodsId() {
return goodsId;
}
public void setGoodsId(String goodsId) {
this.goodsId = goodsId;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public String getGoodsSn() {
return goodsSn;
}
public void setGoodsSn(String goodsSn) {
this.goodsSn = goodsSn;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getGoodsNumber() {
return goodsNumber;
}
public void setGoodsNumber(String goodsNumber) {
this.goodsNumber = goodsNumber;
}
public String getMarketPrice() {
return marketPrice;
}
public void setMarketPrice(String marketPrice) {
this.marketPrice = marketPrice;
}
public String getGoodsPrice() {
return goodsPrice;
}
public void setGoodsPrice(String goodsPrice) {
this.goodsPrice = goodsPrice;
}
public String getGoodsAttr() {
return goodsAttr;
}
public void setGoodsAttr(String goodsAttr) {
this.goodsAttr = goodsAttr;
}
public String getSendNumber() {
return sendNumber;
}
public void setSendNumber(String sendNumber) {
this.sendNumber = sendNumber;
}
public String getIsReal() {
return isReal;
}
public void setIsReal(String isReal) {
this.isReal = isReal;
}
public String getExtensionCode() {
return extensionCode;
}
public void setExtensionCode(String extensionCode) {
this.extensionCode = extensionCode;
}
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public String getIsGift() {
return isGift;
}
public void setIsGift(String isGift) {
this.isGift = isGift;
}
public String getModelAttr() {
return modelAttr;
}
public void setModelAttr(String modelAttr) {
this.modelAttr = modelAttr;
}
public String getGoodsAttrId() {
return goodsAttrId;
}
public void setGoodsAttrId(String goodsAttrId) {
this.goodsAttrId = goodsAttrId;
}
public String getRuId() {
return ruId;
}
public void setRuId(String ruId) {
this.ruId = ruId;
}
public String getShoppingFee() {
return shoppingFee;
}
public void setShoppingFee(String shoppingFee) {
this.shoppingFee = shoppingFee;
}
public String getWarehouseId() {
return warehouseId;
}
public void setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
}
public String getAreaId() {
return areaId;
}
public void setAreaId(String areaId) {
this.areaId = areaId;
}
public String getIsSingle() {
return isSingle;
}
public void setIsSingle(String isSingle) {
this.isSingle = isSingle;
}
public String getFreight() {
return freight;
}
public void setFreight(String freight) {
this.freight = freight;
}
public String getTid() {
return tid;
}
public void setTid(String tid) {
this.tid = tid;
}
public String getShippingFee() {
return shippingFee;
}
public void setShippingFee(String shippingFee) {
this.shippingFee = shippingFee;
}
public String getDrpMoney() {
return drpMoney;
}
public void setDrpMoney(String drpMoney) {
this.drpMoney = drpMoney;
}
public String getIsDistribution() {
return isDistribution;
}
public void setIsDistribution(String isDistribution) {
this.isDistribution = isDistribution;
}
public String getCommissionRate() {
return commissionRate;
}
public void setCommissionRate(String commissionRate) {
this.commissionRate = commissionRate;
}
public String getStagesQishu() {
return stagesQishu;
}
public void setStagesQishu(String stagesQishu) {
this.stagesQishu = stagesQishu;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,81 +0,0 @@
package com.zzjee.wmutil;
import org.jeecgframework.core.util.ApplicationContextUtil;
import org.jeecgframework.web.system.service.SystemService;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* User: caoez
* Date: 13-7-26
* Time: 2:07
*/
public class erpUtil {
public static List removeDuplicate(List list) {
for ( int i = 0 ; i < list.size() - 1 ; i ++ ) {
for ( int j = list.size() - 1 ; j > i; j -- ) {
if (list.get(j).equals(list.get(i))) {
list.remove(j);
}
}
}
return list;
}
//通过客户商品编码或者WMS商品编码和单位找到WMS编码
public static String geterpys(String poitemid,String matcode,String bcsl){
Map<String,String> resultmap = new HashMap<>();
String yssl= "0.00";
String ddsl= "0.00";
String res = "";
SystemService systemService = ApplicationContextUtil.getContext().getBean(SystemService.class);
String tsql = "SELECT sum(mat_qty) as sumqty FROM t_wz_rk_item where by1 = ? and mat_code = ?" ;
List<Map<String, Object>> result= systemService.findForJdbc(tsql, poitemid,matcode);
if(result.size() > 0) {
try{
for(int i = 0; i < result.size(); i++){
yssl = result.get(i).get("sumqty").toString();
}
}catch (Exception e){
}
}
Double yssld = 0.00;
Double bcsld = 0.00;
tsql = "SELECT sum(mat_qty) as sumqty FROM t_wz_po_item where id = ? and mat_code = ?";
result= systemService.findForJdbc(tsql, poitemid,matcode);
if(result.size() > 0) {
try{
for(int i = 0; i < result.size(); i++){
ddsl = result.get(i).get("sumqty").toString();
}
}catch (Exception e){
}
}
Double ddsld = 0.00;
try{
yssld = Double.parseDouble(yssl);
bcsld = Double.parseDouble(bcsl);
ddsld = Double.parseDouble(ddsl);;
}catch (Exception e){
};
if(ddsld<(yssld+bcsld)){
res = "收货数量超过订单数量";
}
return res;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
package com.zzjee.wmutil;
import com.google.gson.annotations.SerializedName;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;
@JsonAutoDetect
public class resResult {
@JsonProperty("success")
private boolean success;
@JsonProperty("message")
private String message;
@JsonProperty("detailedMessage")
private String detailedMessage;
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getDetailedMessage() {
return detailedMessage;
}
public void setDetailedMessage(String detailedMessage) {
this.detailedMessage = detailedMessage;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,265 +0,0 @@
package com.zzjee.wmutil;
import com.xiaoleilu.hutool.http.HttpUtil;
import org.jeecgframework.core.util.DateUtils;
import org.jeecgframework.core.util.JSONHelper;
import org.jeecgframework.core.util.ResourceUtil;
import org.jeecgframework.core.util.StringUtil;
import org.springframework.util.DigestUtils;
import java.nio.charset.Charset;
import java.util.*;
public class uasUtil {
/**
* User: caoez
* Date: 18-09-01
* Time: 2:07
*/
public static String createSign(Map<String, Object> params) {
Set<String> keysSet = params.keySet();
Object[] keys = keysSet.toArray();
Arrays.sort(keys);
StringBuffer temp = new StringBuffer();
boolean first = true;
for (Object key : keys) {
if (first) {
first = false;
} else {
temp.append("&");
}
temp.append(key).append("=");
Object value = params.get(key);
String valueString = "";
if (null != value) {
valueString = String.valueOf(value);
temp.append(valueString);
}
}
return DigestUtils.md5DigestAsHex(temp.toString().getBytes(Charset.forName("UTF-8"))).toUpperCase();
}
//
public static uasloginres getToken(String master) {
uasloginres uasloginres = null;
String url;
url = "http://36.110.2.114:8099/XKN/wms2uas/login.action";
try {
url = ResourceUtil.getConfigByName("uas.url") + "wms2uas/login.action";
} catch (Exception e) {
}
Map<String, Object> paramMap = new HashMap<String, Object>();
String userName = "xknTest";
String passWord = "xknTest123";
master = "XKN_TEST";
try {
userName = ResourceUtil.getConfigByName("uas.userName");
} catch (Exception e) {
}
try {
passWord = ResourceUtil.getConfigByName("uas.passWord");
} catch (Exception e) {
}
try {
if (StringUtil.isEmpty(master)) {
master = ResourceUtil.getConfigByName("uas.master");
}
} catch (Exception e) {
}
paramMap.put("userName", userName);
paramMap.put("passWord", passWord);
paramMap.put("master", master);
String res = HttpUtil.post(url, paramMap);
uasloginres = JSONHelper.fromJsonToObject(res, uasloginres.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取TOKEN===================" + uasloginres);
return uasloginres;
}
public static productResult getProduct(Map<String, Object> params) {
productResult productResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "basic/getProduct.action";
String master = ResourceUtil.getConfigByName("uas.master");
token = getToken("").getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("formDate").toString();
} catch (Exception e) {
}
paramMap.put("formDate", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", DateUtils.gettimestamp());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
productResult = JSONHelper.fromJsonToObject(res, productResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取商品===================" + productResult);
return productResult;
}
public static customerResult getCustomer(Map<String, Object> params) {
customerResult customerResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "basic/getCustomer.action";
String master = ResourceUtil.getConfigByName("uas.master");
token = getToken("").getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("formDate").toString();
} catch (Exception e) {
}
paramMap.put("formDate", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", DateUtils.gettimestamp());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
customerResult = JSONHelper.fromJsonToObject(res, customerResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取客户===================" + customerResult);
return customerResult;
}
public static vendorResult getVendor(Map<String, Object> params) {
vendorResult vendorResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "basic/getVendor.action";
String master = ResourceUtil.getConfigByName("uas.master");
token = getToken("").getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("formDate").toString();
} catch (Exception e) {
}
paramMap.put("formDate", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", DateUtils.gettimestamp());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
vendorResult = JSONHelper.fromJsonToObject(res, vendorResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取供应商===================" + vendorResult);
return vendorResult;
}
public static warehouseResult getWarehouse(Map<String, Object> params) {
warehouseResult warehouseResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "basic/getWarehouse.action";
String master = ResourceUtil.getConfigByName("uas.master");
token = getToken("").getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("formDate").toString();
} catch (Exception e) {
}
paramMap.put("formDate", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", DateUtils.gettimestamp());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
warehouseResult = JSONHelper.fromJsonToObject(res, warehouseResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取仓库===================" + warehouseResult);
return warehouseResult;
}
public static billResult getBil(Map<String, Object> params) {
billResult billResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "productio/getBill.action";
String master = params.get("master").toString();
token = getToken(master).getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("lastUpdateTime").toString();
} catch (Exception e) {
}
paramMap.put("pi_class", params.get("pi_class").toString());
paramMap.put("lastUpdateTime", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", Calendar.getInstance().getTimeInMillis());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
billResult = JSONHelper.fromJsonToObject(res, billResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取单据===================" + billResult);
return billResult;
}
public static sdresult getsdBil(Map<String, Object> params) {
sdresult sdresult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "productio/getBill.action";
String master = params.get("master").toString();
token = getToken(master).getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
String formDate = DateUtils.date2Str(DateUtils.date_sdf);
try {
formDate = params.get("lastUpdateTime").toString();
} catch (Exception e) {
}
paramMap.put("pi_class", params.get("pi_class").toString());
paramMap.put("lastUpdateTime", formDate);
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", Calendar.getInstance().getTimeInMillis());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
sdresult = JSONHelper.fromJsonToObject(res, sdresult.class);
org.jeecgframework.core.util.LogUtil
.info("===================获取单据===================" + sdresult);
return sdresult;
}
public static resResult postBill(Map<String, Object> params) {
resResult resResult = null;
String token = null;
String url = ResourceUtil.getConfigByName("uas.url") + "porductio/post.action";
String master = params.get("master").toString();
token = getToken(master).getToken();
Map<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("data", params.get("data").toString());
paramMap.put("token", token);
paramMap.put("master", master);
paramMap.put("timestamp", Calendar.getInstance().getTimeInMillis());
String sign = createSign(paramMap);
paramMap.put("sign", sign);
String res = HttpUtil.post(url, paramMap);
resResult = JSONHelper.fromJsonToObject(res, resResult.class);
org.jeecgframework.core.util.LogUtil
.info("===================提交单据===================" + resResult);
return resResult;
}
}

View File

@ -1,38 +0,0 @@
/**
* Copyright 2018 bejson.com
*/
package com.zzjee.wmutil;
/**
* Auto-generated: 2018-09-01 8:3:15
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class uasloginres {
private String code;
private String resMsg;
private String token;
public void setCode(String code) {
this.code = code;
}
public String getCode() {
return code;
}
public void setResMsg(String resMsg) {
this.resMsg = resMsg;
}
public String getResMsg() {
return resMsg;
}
public void setToken(String token) {
this.token = token;
}
public String getToken() {
return token;
}
}

View File

@ -1,735 +0,0 @@
package com.zzjee.wmutil;
import com.google.gson.annotations.SerializedName;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
@JsonAutoDetect
public class vendorResult {
/**
* result : [{"ve_custname":null,"ve_id":"97006","ve_duedays":"0","ve_b2benable":"0","ve_auditstatuscode":"AUDITED","ve_buyercode":"X0110","ve_monthsend":"无","ve_remark":null,"ve_buyeruu":"2000001138","ve_billtype":"普通发票","ve_priceterm":null,"ve_tel":"无","ve_fax":null,"ve_uu":null,"ve_initdate":"2018-08-22 00:00:00.0","ve_code":"GN0184","ve_add2":null,"ve_add1":"广东","ve_attach":null,"ve_shipment":null,"ve_level":null,"ve_nsrzh":null,"ve_bank":null,"ve_mobile":"无","ve_webserver":"123","ve_contact":"周诗妙","ve_buyername":"卢宁","ve_industry":"设计","ve_currency":"RMB","ve_auditstatus":"已审核","ve_custcode":null,"ve_onecurr":"0","ve_bankcode":null,"ve_updatedate":null,"ve_credit":null,"ve_ifdeliveryonb2b":"0","ve_businessrange":null,"ve_kind":"国内","ve_abc":null,"ve_apvendname":"广东川木品牌策划有限公司","ve_source":"手工新增","ve_b2bcheck":"0","ve_bankman":null,"ve_transdate":null,"ve_recordname":"卢宁","ve_isperformance":null,"ve_cop":null,"ve_style":"GENERAL","ve_sourceid":null,"ve_taxrate":"16","ve_degree":null,"ve_paymentcode":"1001","ve_email":"无","ve_apvendcode":"GN0184","ve_buyerid":"1029693","ve_payment":"现金","ve_bankaccount":null,"ve_regcapital":null,"ve_legalman":null,"ve_name":"广东川木品牌策划有限公司","ve_bankaddress":null,"ve_shortname":"川木"}]
* success : true
* resCode : 00
*/
@JsonProperty("success")
private boolean success;
@JsonProperty("resCode")
private String resCode;
@JsonProperty("result")
private List<ResultBean> result;
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getResCode() {
return resCode;
}
public void setResCode(String resCode) {
this.resCode = resCode;
}
public List<ResultBean> getResult() {
return result;
}
public void setResult(List<ResultBean> result) {
this.result = result;
}
public static class ResultBean {
/**
* ve_custname : null
* ve_id : 97006
* ve_duedays : 0
* ve_b2benable : 0
* ve_auditstatuscode : AUDITED
* ve_buyercode : X0110
* ve_monthsend :
* ve_remark : null
* ve_buyeruu : 2000001138
* ve_billtype :
* ve_priceterm : null
* ve_tel :
* ve_fax : null
* ve_uu : null
* ve_initdate : 2018-08-22 00:00:00.0
* ve_code : GN0184
* ve_add2 : null
* ve_add1 : 广
* ve_attach : null
* ve_shipment : null
* ve_level : null
* ve_nsrzh : null
* ve_bank : null
* ve_mobile :
* ve_webserver : 123
* ve_contact :
* ve_buyername :
* ve_industry :
* ve_currency : RMB
* ve_auditstatus :
* ve_custcode : null
* ve_onecurr : 0
* ve_bankcode : null
* ve_updatedate : null
* ve_credit : null
* ve_ifdeliveryonb2b : 0
* ve_businessrange : null
* ve_kind :
* ve_abc : null
* ve_apvendname : 广
* ve_source :
* ve_b2bcheck : 0
* ve_bankman : null
* ve_transdate : null
* ve_recordname :
* ve_isperformance : null
* ve_cop : null
* ve_style : GENERAL
* ve_sourceid : null
* ve_taxrate : 16
* ve_degree : null
* ve_paymentcode : 1001
* ve_email :
* ve_apvendcode : GN0184
* ve_buyerid : 1029693
* ve_payment :
* ve_bankaccount : null
* ve_regcapital : null
* ve_legalman : null
* ve_name : 广
* ve_bankaddress : null
* ve_shortname :
*/
@JsonProperty("ve_custname")
private Object veCustname;
@JsonProperty("ve_id")
private String veId;
@JsonProperty("ve_duedays")
private String veDuedays;
@JsonProperty("ve_b2benable")
private String veB2benable;
@JsonProperty("ve_auditstatuscode")
private String veAuditstatuscode;
@JsonProperty("ve_buyercode")
private String veBuyercode;
@JsonProperty("ve_monthsend")
private String veMonthsend;
@JsonProperty("ve_remark")
private Object veRemark;
@JsonProperty("ve_buyeruu")
private String veBuyeruu;
@JsonProperty("ve_billtype")
private String veBilltype;
@JsonProperty("ve_priceterm")
private Object vePriceterm;
@JsonProperty("ve_tel")
private String veTel;
@JsonProperty("ve_fax")
private Object veFax;
@JsonProperty("ve_uu")
private Object veUu;
@JsonProperty("ve_initdate")
private String veInitdate;
@JsonProperty("ve_code")
private String veCode;
@JsonProperty("ve_add2")
private Object veAdd2;
@JsonProperty("ve_add1")
private String veAdd1;
@JsonProperty("ve_attach")
private Object veAttach;
@JsonProperty("ve_shipment")
private Object veShipment;
@JsonProperty("ve_level")
private Object veLevel;
@JsonProperty("ve_nsrzh")
private Object veNsrzh;
@JsonProperty("ve_bank")
private Object veBank;
@JsonProperty("ve_mobile")
private String veMobile;
@JsonProperty("ve_webserver")
private String veWebserver;
@JsonProperty("ve_contact")
private String veContact;
@JsonProperty("ve_buyername")
private String veBuyername;
@JsonProperty("ve_industry")
private String veIndustry;
@JsonProperty("ve_currency")
private String veCurrency;
@JsonProperty("ve_auditstatus")
private String veAuditstatus;
@JsonProperty("ve_custcode")
private Object veCustcode;
@JsonProperty("ve_onecurr")
private String veOnecurr;
@JsonProperty("ve_bankcode")
private Object veBankcode;
@JsonProperty("ve_updatedate")
private Object veUpdatedate;
@JsonProperty("ve_credit")
private Object veCredit;
@JsonProperty("ve_ifdeliveryonb2b")
private String veIfdeliveryonb2b;
@JsonProperty("ve_businessrange")
private Object veBusinessrange;
@JsonProperty("ve_kind")
private String veKind;
@JsonProperty("ve_abc")
private Object veAbc;
@JsonProperty("ve_apvendname")
private String veApvendname;
@JsonProperty("ve_source")
private String veSource;
@JsonProperty("ve_b2bcheck")
private String veB2bcheck;
@JsonProperty("ve_bankman")
private Object veBankman;
@JsonProperty("ve_transdate")
private Object veTransdate;
@JsonProperty("ve_recordname")
private String veRecordname;
@JsonProperty("ve_isperformance")
private Object veIsperformance;
@JsonProperty("ve_cop")
private Object veCop;
@JsonProperty("ve_style")
private String veStyle;
@JsonProperty("ve_sourceid")
private Object veSourceid;
@JsonProperty("ve_taxrate")
private String veTaxrate;
@JsonProperty("ve_degree")
private Object veDegree;
@JsonProperty("ve_paymentcode")
private String vePaymentcode;
@JsonProperty("ve_email")
private String veEmail;
@JsonProperty("ve_apvendcode")
private String veApvendcode;
@JsonProperty("ve_buyerid")
private String veBuyerid;
@JsonProperty("ve_payment")
private String vePayment;
@JsonProperty("ve_bankaccount")
private Object veBankaccount;
@JsonProperty("ve_regcapital")
private Object veRegcapital;
@JsonProperty("ve_legalman")
private Object veLegalman;
@JsonProperty("ve_name")
private String veName;
@JsonProperty("ve_bankaddress")
private Object veBankaddress;
@JsonProperty("ve_shortname")
private String veShortname;
public Object getVeCustname() {
return veCustname;
}
public void setVeCustname(Object veCustname) {
this.veCustname = veCustname;
}
public String getVeId() {
return veId;
}
public void setVeId(String veId) {
this.veId = veId;
}
public String getVeDuedays() {
return veDuedays;
}
public void setVeDuedays(String veDuedays) {
this.veDuedays = veDuedays;
}
public String getVeB2benable() {
return veB2benable;
}
public void setVeB2benable(String veB2benable) {
this.veB2benable = veB2benable;
}
public String getVeAuditstatuscode() {
return veAuditstatuscode;
}
public void setVeAuditstatuscode(String veAuditstatuscode) {
this.veAuditstatuscode = veAuditstatuscode;
}
public String getVeBuyercode() {
return veBuyercode;
}
public void setVeBuyercode(String veBuyercode) {
this.veBuyercode = veBuyercode;
}
public String getVeMonthsend() {
return veMonthsend;
}
public void setVeMonthsend(String veMonthsend) {
this.veMonthsend = veMonthsend;
}
public Object getVeRemark() {
return veRemark;
}
public void setVeRemark(Object veRemark) {
this.veRemark = veRemark;
}
public String getVeBuyeruu() {
return veBuyeruu;
}
public void setVeBuyeruu(String veBuyeruu) {
this.veBuyeruu = veBuyeruu;
}
public String getVeBilltype() {
return veBilltype;
}
public void setVeBilltype(String veBilltype) {
this.veBilltype = veBilltype;
}
public Object getVePriceterm() {
return vePriceterm;
}
public void setVePriceterm(Object vePriceterm) {
this.vePriceterm = vePriceterm;
}
public String getVeTel() {
return veTel;
}
public void setVeTel(String veTel) {
this.veTel = veTel;
}
public Object getVeFax() {
return veFax;
}
public void setVeFax(Object veFax) {
this.veFax = veFax;
}
public Object getVeUu() {
return veUu;
}
public void setVeUu(Object veUu) {
this.veUu = veUu;
}
public String getVeInitdate() {
return veInitdate;
}
public void setVeInitdate(String veInitdate) {
this.veInitdate = veInitdate;
}
public String getVeCode() {
return veCode;
}
public void setVeCode(String veCode) {
this.veCode = veCode;
}
public Object getVeAdd2() {
return veAdd2;
}
public void setVeAdd2(Object veAdd2) {
this.veAdd2 = veAdd2;
}
public String getVeAdd1() {
return veAdd1;
}
public void setVeAdd1(String veAdd1) {
this.veAdd1 = veAdd1;
}
public Object getVeAttach() {
return veAttach;
}
public void setVeAttach(Object veAttach) {
this.veAttach = veAttach;
}
public Object getVeShipment() {
return veShipment;
}
public void setVeShipment(Object veShipment) {
this.veShipment = veShipment;
}
public Object getVeLevel() {
return veLevel;
}
public void setVeLevel(Object veLevel) {
this.veLevel = veLevel;
}
public Object getVeNsrzh() {
return veNsrzh;
}
public void setVeNsrzh(Object veNsrzh) {
this.veNsrzh = veNsrzh;
}
public Object getVeBank() {
return veBank;
}
public void setVeBank(Object veBank) {
this.veBank = veBank;
}
public String getVeMobile() {
return veMobile;
}
public void setVeMobile(String veMobile) {
this.veMobile = veMobile;
}
public String getVeWebserver() {
return veWebserver;
}
public void setVeWebserver(String veWebserver) {
this.veWebserver = veWebserver;
}
public String getVeContact() {
return veContact;
}
public void setVeContact(String veContact) {
this.veContact = veContact;
}
public String getVeBuyername() {
return veBuyername;
}
public void setVeBuyername(String veBuyername) {
this.veBuyername = veBuyername;
}
public String getVeIndustry() {
return veIndustry;
}
public void setVeIndustry(String veIndustry) {
this.veIndustry = veIndustry;
}
public String getVeCurrency() {
return veCurrency;
}
public void setVeCurrency(String veCurrency) {
this.veCurrency = veCurrency;
}
public String getVeAuditstatus() {
return veAuditstatus;
}
public void setVeAuditstatus(String veAuditstatus) {
this.veAuditstatus = veAuditstatus;
}
public Object getVeCustcode() {
return veCustcode;
}
public void setVeCustcode(Object veCustcode) {
this.veCustcode = veCustcode;
}
public String getVeOnecurr() {
return veOnecurr;
}
public void setVeOnecurr(String veOnecurr) {
this.veOnecurr = veOnecurr;
}
public Object getVeBankcode() {
return veBankcode;
}
public void setVeBankcode(Object veBankcode) {
this.veBankcode = veBankcode;
}
public Object getVeUpdatedate() {
return veUpdatedate;
}
public void setVeUpdatedate(Object veUpdatedate) {
this.veUpdatedate = veUpdatedate;
}
public Object getVeCredit() {
return veCredit;
}
public void setVeCredit(Object veCredit) {
this.veCredit = veCredit;
}
public String getVeIfdeliveryonb2b() {
return veIfdeliveryonb2b;
}
public void setVeIfdeliveryonb2b(String veIfdeliveryonb2b) {
this.veIfdeliveryonb2b = veIfdeliveryonb2b;
}
public Object getVeBusinessrange() {
return veBusinessrange;
}
public void setVeBusinessrange(Object veBusinessrange) {
this.veBusinessrange = veBusinessrange;
}
public String getVeKind() {
return veKind;
}
public void setVeKind(String veKind) {
this.veKind = veKind;
}
public Object getVeAbc() {
return veAbc;
}
public void setVeAbc(Object veAbc) {
this.veAbc = veAbc;
}
public String getVeApvendname() {
return veApvendname;
}
public void setVeApvendname(String veApvendname) {
this.veApvendname = veApvendname;
}
public String getVeSource() {
return veSource;
}
public void setVeSource(String veSource) {
this.veSource = veSource;
}
public String getVeB2bcheck() {
return veB2bcheck;
}
public void setVeB2bcheck(String veB2bcheck) {
this.veB2bcheck = veB2bcheck;
}
public Object getVeBankman() {
return veBankman;
}
public void setVeBankman(Object veBankman) {
this.veBankman = veBankman;
}
public Object getVeTransdate() {
return veTransdate;
}
public void setVeTransdate(Object veTransdate) {
this.veTransdate = veTransdate;
}
public String getVeRecordname() {
return veRecordname;
}
public void setVeRecordname(String veRecordname) {
this.veRecordname = veRecordname;
}
public Object getVeIsperformance() {
return veIsperformance;
}
public void setVeIsperformance(Object veIsperformance) {
this.veIsperformance = veIsperformance;
}
public Object getVeCop() {
return veCop;
}
public void setVeCop(Object veCop) {
this.veCop = veCop;
}
public String getVeStyle() {
return veStyle;
}
public void setVeStyle(String veStyle) {
this.veStyle = veStyle;
}
public Object getVeSourceid() {
return veSourceid;
}
public void setVeSourceid(Object veSourceid) {
this.veSourceid = veSourceid;
}
public String getVeTaxrate() {
return veTaxrate;
}
public void setVeTaxrate(String veTaxrate) {
this.veTaxrate = veTaxrate;
}
public Object getVeDegree() {
return veDegree;
}
public void setVeDegree(Object veDegree) {
this.veDegree = veDegree;
}
public String getVePaymentcode() {
return vePaymentcode;
}
public void setVePaymentcode(String vePaymentcode) {
this.vePaymentcode = vePaymentcode;
}
public String getVeEmail() {
return veEmail;
}
public void setVeEmail(String veEmail) {
this.veEmail = veEmail;
}
public String getVeApvendcode() {
return veApvendcode;
}
public void setVeApvendcode(String veApvendcode) {
this.veApvendcode = veApvendcode;
}
public String getVeBuyerid() {
return veBuyerid;
}
public void setVeBuyerid(String veBuyerid) {
this.veBuyerid = veBuyerid;
}
public String getVePayment() {
return vePayment;
}
public void setVePayment(String vePayment) {
this.vePayment = vePayment;
}
public Object getVeBankaccount() {
return veBankaccount;
}
public void setVeBankaccount(Object veBankaccount) {
this.veBankaccount = veBankaccount;
}
public Object getVeRegcapital() {
return veRegcapital;
}
public void setVeRegcapital(Object veRegcapital) {
this.veRegcapital = veRegcapital;
}
public Object getVeLegalman() {
return veLegalman;
}
public void setVeLegalman(Object veLegalman) {
this.veLegalman = veLegalman;
}
public String getVeName() {
return veName;
}
public void setVeName(String veName) {
this.veName = veName;
}
public Object getVeBankaddress() {
return veBankaddress;
}
public void setVeBankaddress(Object veBankaddress) {
this.veBankaddress = veBankaddress;
}
public String getVeShortname() {
return veShortname;
}
public void setVeShortname(String veShortname) {
this.veShortname = veShortname;
}
}
}

View File

@ -1,461 +0,0 @@
package com.zzjee.wmutil;
import com.google.gson.annotations.SerializedName;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
@JsonAutoDetect
public class warehouseResult {
/**
* result : [{"wh_nocost":"0","wh_contact":null,"wh_ifoutmake":"0","wh_type":"良品仓","wh_ifmrp":"-1","wh_recorder":"管理员","wh_statuscode":"AUDITED","wh_isnotin":"0","wh_bonded":"0","wh_salecatecode":null,"wh_tel":null,"wh_costcateid":null,"wh_iflack":"-1","wh_ifclash":"-1","wh_cop":null,"wh_catecode":null,"wh_costcatecode":null,"wh_iflocation":"0","wh_departmentcode":null,"wh_level":null,"wh_status":"已审核","wh_ifvendbad":"0","wh_isnotout":"0","wh_ifmove":"0","wh_cateid":null,"wh_ifb2c":null,"wh_salecateid":null,"wh_ifbarcode":"-1","wh_subof":null,"wh_id":"31800","wh_subofname":null,"wh_factory":null,"wh_ifdefect":"0","wh_ifwip":"0","wh_description":"存手机","wh_date":"2018-08-30 00:00:00.0","wh_code":"csa12321"}]
* success : true
* resCode : 00
*/
@JsonProperty("success")
private boolean success;
@JsonProperty("resCode")
private String resCode;
@JsonProperty("result")
private List<ResultBean> result;
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getResCode() {
return resCode;
}
public void setResCode(String resCode) {
this.resCode = resCode;
}
public List<ResultBean> getResult() {
return result;
}
public void setResult(List<ResultBean> result) {
this.result = result;
}
public static class ResultBean {
/**
* wh_nocost : 0
* wh_contact : null
* wh_ifoutmake : 0
* wh_type :
* wh_ifmrp : -1
* wh_recorder :
* wh_statuscode : AUDITED
* wh_isnotin : 0
* wh_bonded : 0
* wh_salecatecode : null
* wh_tel : null
* wh_costcateid : null
* wh_iflack : -1
* wh_ifclash : -1
* wh_cop : null
* wh_catecode : null
* wh_costcatecode : null
* wh_iflocation : 0
* wh_departmentcode : null
* wh_level : null
* wh_status :
* wh_ifvendbad : 0
* wh_isnotout : 0
* wh_ifmove : 0
* wh_cateid : null
* wh_ifb2c : null
* wh_salecateid : null
* wh_ifbarcode : -1
* wh_subof : null
* wh_id : 31800
* wh_subofname : null
* wh_factory : null
* wh_ifdefect : 0
* wh_ifwip : 0
* wh_description :
* wh_date : 2018-08-30 00:00:00.0
* wh_code : csa12321
*/
@JsonProperty("wh_nocost")
private String whNocost;
@JsonProperty("wh_contact")
private Object whContact;
@JsonProperty("wh_ifoutmake")
private String whIfoutmake;
@JsonProperty("wh_type")
private String whType;
@JsonProperty("wh_ifmrp")
private String whIfmrp;
@JsonProperty("wh_recorder")
private String whRecorder;
@JsonProperty("wh_statuscode")
private String whStatuscode;
@JsonProperty("wh_isnotin")
private String whIsnotin;
@JsonProperty("wh_bonded")
private String whBonded;
@JsonProperty("wh_salecatecode")
private Object whSalecatecode;
@JsonProperty("wh_tel")
private Object whTel;
@JsonProperty("wh_costcateid")
private Object whCostcateid;
@JsonProperty("wh_iflack")
private String whIflack;
@JsonProperty("wh_ifclash")
private String whIfclash;
@JsonProperty("wh_cop")
private Object whCop;
@JsonProperty("wh_catecode")
private Object whCatecode;
@JsonProperty("wh_costcatecode")
private Object whCostcatecode;
@JsonProperty("wh_iflocation")
private String whIflocation;
@JsonProperty("wh_departmentcode")
private Object whDepartmentcode;
@JsonProperty("wh_level")
private Object whLevel;
@JsonProperty("wh_status")
private String whStatus;
@JsonProperty("wh_ifvendbad")
private String whIfvendbad;
@JsonProperty("wh_isnotout")
private String whIsnotout;
@JsonProperty("wh_ifmove")
private String whIfmove;
@JsonProperty("wh_cateid")
private Object whCateid;
@JsonProperty("wh_ifb2c")
private Object whIfb2c;
@JsonProperty("wh_salecateid")
private Object whSalecateid;
@JsonProperty("wh_ifbarcode")
private String whIfbarcode;
@JsonProperty("wh_subof")
private Object whSubof;
@JsonProperty("wh_id")
private String whId;
@JsonProperty("wh_subofname")
private Object whSubofname;
@JsonProperty("wh_factory")
private Object whFactory;
@JsonProperty("wh_ifdefect")
private String whIfdefect;
@JsonProperty("wh_ifwip")
private String whIfwip;
@JsonProperty("wh_description")
private String whDescription;
@JsonProperty("wh_date")
private String whDate;
@JsonProperty("wh_code")
private String whCode;
public String getWhNocost() {
return whNocost;
}
public void setWhNocost(String whNocost) {
this.whNocost = whNocost;
}
public Object getWhContact() {
return whContact;
}
public void setWhContact(Object whContact) {
this.whContact = whContact;
}
public String getWhIfoutmake() {
return whIfoutmake;
}
public void setWhIfoutmake(String whIfoutmake) {
this.whIfoutmake = whIfoutmake;
}
public String getWhType() {
return whType;
}
public void setWhType(String whType) {
this.whType = whType;
}
public String getWhIfmrp() {
return whIfmrp;
}
public void setWhIfmrp(String whIfmrp) {
this.whIfmrp = whIfmrp;
}
public String getWhRecorder() {
return whRecorder;
}
public void setWhRecorder(String whRecorder) {
this.whRecorder = whRecorder;
}
public String getWhStatuscode() {
return whStatuscode;
}
public void setWhStatuscode(String whStatuscode) {
this.whStatuscode = whStatuscode;
}
public String getWhIsnotin() {
return whIsnotin;
}
public void setWhIsnotin(String whIsnotin) {
this.whIsnotin = whIsnotin;
}
public String getWhBonded() {
return whBonded;
}
public void setWhBonded(String whBonded) {
this.whBonded = whBonded;
}
public Object getWhSalecatecode() {
return whSalecatecode;
}
public void setWhSalecatecode(Object whSalecatecode) {
this.whSalecatecode = whSalecatecode;
}
public Object getWhTel() {
return whTel;
}
public void setWhTel(Object whTel) {
this.whTel = whTel;
}
public Object getWhCostcateid() {
return whCostcateid;
}
public void setWhCostcateid(Object whCostcateid) {
this.whCostcateid = whCostcateid;
}
public String getWhIflack() {
return whIflack;
}
public void setWhIflack(String whIflack) {
this.whIflack = whIflack;
}
public String getWhIfclash() {
return whIfclash;
}
public void setWhIfclash(String whIfclash) {
this.whIfclash = whIfclash;
}
public Object getWhCop() {
return whCop;
}
public void setWhCop(Object whCop) {
this.whCop = whCop;
}
public Object getWhCatecode() {
return whCatecode;
}
public void setWhCatecode(Object whCatecode) {
this.whCatecode = whCatecode;
}
public Object getWhCostcatecode() {
return whCostcatecode;
}
public void setWhCostcatecode(Object whCostcatecode) {
this.whCostcatecode = whCostcatecode;
}
public String getWhIflocation() {
return whIflocation;
}
public void setWhIflocation(String whIflocation) {
this.whIflocation = whIflocation;
}
public Object getWhDepartmentcode() {
return whDepartmentcode;
}
public void setWhDepartmentcode(Object whDepartmentcode) {
this.whDepartmentcode = whDepartmentcode;
}
public Object getWhLevel() {
return whLevel;
}
public void setWhLevel(Object whLevel) {
this.whLevel = whLevel;
}
public String getWhStatus() {
return whStatus;
}
public void setWhStatus(String whStatus) {
this.whStatus = whStatus;
}
public String getWhIfvendbad() {
return whIfvendbad;
}
public void setWhIfvendbad(String whIfvendbad) {
this.whIfvendbad = whIfvendbad;
}
public String getWhIsnotout() {
return whIsnotout;
}
public void setWhIsnotout(String whIsnotout) {
this.whIsnotout = whIsnotout;
}
public String getWhIfmove() {
return whIfmove;
}
public void setWhIfmove(String whIfmove) {
this.whIfmove = whIfmove;
}
public Object getWhCateid() {
return whCateid;
}
public void setWhCateid(Object whCateid) {
this.whCateid = whCateid;
}
public Object getWhIfb2c() {
return whIfb2c;
}
public void setWhIfb2c(Object whIfb2c) {
this.whIfb2c = whIfb2c;
}
public Object getWhSalecateid() {
return whSalecateid;
}
public void setWhSalecateid(Object whSalecateid) {
this.whSalecateid = whSalecateid;
}
public String getWhIfbarcode() {
return whIfbarcode;
}
public void setWhIfbarcode(String whIfbarcode) {
this.whIfbarcode = whIfbarcode;
}
public Object getWhSubof() {
return whSubof;
}
public void setWhSubof(Object whSubof) {
this.whSubof = whSubof;
}
public String getWhId() {
return whId;
}
public void setWhId(String whId) {
this.whId = whId;
}
public Object getWhSubofname() {
return whSubofname;
}
public void setWhSubofname(Object whSubofname) {
this.whSubofname = whSubofname;
}
public Object getWhFactory() {
return whFactory;
}
public void setWhFactory(Object whFactory) {
this.whFactory = whFactory;
}
public String getWhIfdefect() {
return whIfdefect;
}
public void setWhIfdefect(String whIfdefect) {
this.whIfdefect = whIfdefect;
}
public String getWhIfwip() {
return whIfwip;
}
public void setWhIfwip(String whIfwip) {
this.whIfwip = whIfwip;
}
public String getWhDescription() {
return whDescription;
}
public void setWhDescription(String whDescription) {
this.whDescription = whDescription;
}
public String getWhDate() {
return whDate;
}
public void setWhDate(String whDate) {
this.whDate = whDate;
}
public String getWhCode() {
return whCode;
}
public void setWhCode(String whCode) {
this.whCode = whCode;
}
}
}

View File

@ -1,7 +1,6 @@
package test; package test;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.zzjee.wmutil.dsc.dscUtil;
import org.jeecgframework.web.cgform.util.SignatureUtil; import org.jeecgframework.web.cgform.util.SignatureUtil;
import java.io.BufferedReader; import java.io.BufferedReader;
@ -20,7 +19,7 @@ public class HttpUtil {
/** /**
* https * https
* *
* @param requestUrl * @param requestUrl
* *
* @param requestMethod * @param requestMethod
@ -93,7 +92,7 @@ public class HttpUtil {
} }
return jsonObject; return jsonObject;
} }
public static void main1(String args[]){ public static void main1(String args[]){
String key="26F72780372E84B6CFAED6F7B19139CC47B1912B6CAED753"; String key="26F72780372E84B6CFAED6F7B19139CC47B1912B6CAED753";
JSONObject jsonObject=new JSONObject(); JSONObject jsonObject=new JSONObject();
@ -107,15 +106,13 @@ public class HttpUtil {
JSONObject resp=HttpUtil.httpRequest("http://localhost:8080/jeecg/api/cgFormDataController.do?getFormInfo","POST","body="+body,sign); JSONObject resp=HttpUtil.httpRequest("http://localhost:8080/jeecg/api/cgFormDataController.do?getFormInfo","POST","body="+body,sign);
System.out.println(resp.toJSONString()); System.out.println(resp.toJSONString());
} }
public static void main(String args[]){ public static void main(String args[]){
// dscUtil.updateGoodsFromDsc(); // dscUtil.updateGoodsFromDsc();
// String res = dscUtil.getOrderList("1","",""); // String res = dscUtil.getOrderList("1","","");
// System.out.println(res); // System.out.println(res);
String res = dscUtil.getOrderGoods("20");
System.out.println("order="+res);
// String key="26F72780372E84B6CFAED6F7B19139CC47B1912B6CAED753"; // String key="26F72780372E84B6CFAED6F7B19139CC47B1912B6CAED753";

View File

@ -43,15 +43,7 @@ public class ControllerTestDemo extends AbstractUnitTest{
// paramMap.put("formDate","2017-01-01"); // paramMap.put("formDate","2017-01-01");
// paramMap.put("lastUpdateTime","2017-01-01"); // paramMap.put("lastUpdateTime","2017-01-01");
// paramMap.put("pi_class","采购验收单"); // paramMap.put("pi_class","采购验收单");
// uasUtil.getProduct(paramMap);
//
// uasUtil.getCustomer(paramMap);
//
// uasUtil.getVendor(paramMap);
//
// uasUtil.getWarehouse(paramMap);
//
// uasUtil.getBil(paramMap);
// session.setAttribute("randCode", "1234"); //设置登录验证码 // session.setAttribute("randCode", "1234"); //设置登录验证码
// this.mockMvc.perform(post("/loginController.do?checkuser=") // this.mockMvc.perform(post("/loginController.do?checkuser=")
// .param("userName","admin") // .param("userName","admin")