Compare commits

..

No commits in common. "00ad844d82854c9aeb85b5be61ed63c3a3c89605" and "5d10bc8fbcbedb47ed46e6253e2a6f45b5b53c04" have entirely different histories.

8 changed files with 3 additions and 733 deletions

View File

@ -18,6 +18,5 @@ package shkd.fi.fi.common;
public class AppflgConstant { public class AppflgConstant {
public static final String KEY_APP_NAME = "fi-fi"; public static final String KEY_APP_NAME = "fi-fi";
public static final String APIGW_COSCOSHIPPING_COM_TOKEN = "apigw.coscoshipping.com.token";
} }

View File

@ -1,79 +0,0 @@
/**
* Copyright 2024 bejson.com
*/
package shkd.fi.fi.common.orc;
import java.util.Date;
/**
* Auto-generated: 2024-07-08 17:34:34
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class DetailList {
private String unitPrice;
private String totalAmount;
private String taxRate;
private String unit;
private String quantity;
private String specifictionModel;
private String tax;
private String commodityName;
public void setUnitPrice(String unitPrice) {
this.unitPrice = unitPrice;
}
public String getUnitPrice() {
return unitPrice;
}
public void setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
}
public String getTotalAmount() {
return totalAmount;
}
public void setTaxRate(String taxRate) {
this.taxRate = taxRate;
}
public String getTaxRate() {
return taxRate;
}
public void setUnit(String unit) {
this.unit = unit;
}
public String getUnit() {
return unit;
}
public void setQuantity(String quantity) {
this.quantity = quantity;
}
public String getQuantity() {
return quantity;
}
public void setSpecifictionModel(String specifictionModel) {
this.specifictionModel = specifictionModel;
}
public String getSpecifictionModel() {
return specifictionModel;
}
public void setTax(String tax) {
this.tax = tax;
}
public String getTax() {
return tax;
}
public void setCommodityName(String commodityName) {
this.commodityName = commodityName;
}
public String getCommodityName() {
return commodityName;
}
}

View File

@ -1,46 +0,0 @@
/**
* Copyright 2024 bejson.com
*/
package shkd.fi.fi.common.orc;
/**
* Auto-generated: 2024-07-08 17:34:34
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class InvoicePosition {
private int y1;
private int x1;
private int y2;
private int x2;
public void setY1(int y1) {
this.y1 = y1;
}
public int getY1() {
return y1;
}
public void setX1(int x1) {
this.x1 = x1;
}
public int getX1() {
return x1;
}
public void setY2(int y2) {
this.y2 = y2;
}
public int getY2() {
return y2;
}
public void setX2(int x2) {
this.x2 = x2;
}
public int getX2() {
return x2;
}
}

View File

@ -1,39 +0,0 @@
/**
* Copyright 2024 bejson.com
*/
package shkd.fi.fi.common.orc;
import java.util.List;
/**
* Auto-generated: 2024-07-08 17:34:34
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class OCRRetureData {
private String method;
private String requestId;
private List<Response> response;
public void setMethod(String method) {
this.method = method;
}
public String getMethod() {
return method;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getRequestId() {
return requestId;
}
public void setResponse(List<Response> response) {
this.response = response;
}
public List<Response> getResponse() {
return response;
}
}

View File

@ -1,264 +0,0 @@
/**
* Copyright 2024 bejson.com
*/
package shkd.fi.fi.common.orc;
import java.util.Date;
import java.util.List;
/**
* Auto-generated: 2024-07-08 17:34:34
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class Response {
private String city;
private String buyerBankAccount;
private String remark;
private String title;
private String issuer;
private double totalTax;
private String invoiceTemplateType;
private String saleName;
private String saleTaxNo;
private String province;
private String sellerAddrTel;
private String invoiceType;
private String invoiceNo;
private String invoiceTemplateName;
private InvoicePosition invoicePosition;
private int orientation;
private String machineCode;
private String buyerAddrTel;
private String transitMark;
private String reviewer;
private Date invoiceDate;
private String invoiceCode;
private String purchaserName;
private String checkCode;
private double totalAmount;
private String purchaserTaxNo;
private String sellerBankAccount;
private String invoiceCiphertext;
private List<DetailList> detailList;
private int hasSeal;
private double amountTax;
public void setCity(String city) {
this.city = city;
}
public String getCity() {
return city;
}
public void setBuyerBankAccount(String buyerBankAccount) {
this.buyerBankAccount = buyerBankAccount;
}
public String getBuyerBankAccount() {
return buyerBankAccount;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getRemark() {
return remark;
}
public void setTitle(String title) {
this.title = title;
}
public String getTitle() {
return title;
}
public void setIssuer(String issuer) {
this.issuer = issuer;
}
public String getIssuer() {
return issuer;
}
public void setTotalTax(double totalTax) {
this.totalTax = totalTax;
}
public double getTotalTax() {
return totalTax;
}
public void setInvoiceTemplateType(String invoiceTemplateType) {
this.invoiceTemplateType = invoiceTemplateType;
}
public String getInvoiceTemplateType() {
return invoiceTemplateType;
}
public void setSaleName(String saleName) {
this.saleName = saleName;
}
public String getSaleName() {
return saleName;
}
public void setSaleTaxNo(String saleTaxNo) {
this.saleTaxNo = saleTaxNo;
}
public String getSaleTaxNo() {
return saleTaxNo;
}
public void setProvince(String province) {
this.province = province;
}
public String getProvince() {
return province;
}
public void setSellerAddrTel(String sellerAddrTel) {
this.sellerAddrTel = sellerAddrTel;
}
public String getSellerAddrTel() {
return sellerAddrTel;
}
public void setInvoiceType(String invoiceType) {
this.invoiceType = invoiceType;
}
public String getInvoiceType() {
return invoiceType;
}
public void setInvoiceNo(String invoiceNo) {
this.invoiceNo = invoiceNo;
}
public String getInvoiceNo() {
return invoiceNo;
}
public void setInvoiceTemplateName(String invoiceTemplateName) {
this.invoiceTemplateName = invoiceTemplateName;
}
public String getInvoiceTemplateName() {
return invoiceTemplateName;
}
public void setInvoicePosition(InvoicePosition invoicePosition) {
this.invoicePosition = invoicePosition;
}
public InvoicePosition getInvoicePosition() {
return invoicePosition;
}
public void setOrientation(int orientation) {
this.orientation = orientation;
}
public int getOrientation() {
return orientation;
}
public void setMachineCode(String machineCode) {
this.machineCode = machineCode;
}
public String getMachineCode() {
return machineCode;
}
public void setBuyerAddrTel(String buyerAddrTel) {
this.buyerAddrTel = buyerAddrTel;
}
public String getBuyerAddrTel() {
return buyerAddrTel;
}
public void setTransitMark(String transitMark) {
this.transitMark = transitMark;
}
public String getTransitMark() {
return transitMark;
}
public void setReviewer(String reviewer) {
this.reviewer = reviewer;
}
public String getReviewer() {
return reviewer;
}
public void setInvoiceDate(Date invoiceDate) {
this.invoiceDate = invoiceDate;
}
public Date getInvoiceDate() {
return invoiceDate;
}
public void setInvoiceCode(String invoiceCode) {
this.invoiceCode = invoiceCode;
}
public String getInvoiceCode() {
return invoiceCode;
}
public void setPurchaserName(String purchaserName) {
this.purchaserName = purchaserName;
}
public String getPurchaserName() {
return purchaserName;
}
public void setCheckCode(String checkCode) {
this.checkCode = checkCode;
}
public String getCheckCode() {
return checkCode;
}
public void setTotalAmount(double totalAmount) {
this.totalAmount = totalAmount;
}
public double getTotalAmount() {
return totalAmount;
}
public void setPurchaserTaxNo(String purchaserTaxNo) {
this.purchaserTaxNo = purchaserTaxNo;
}
public String getPurchaserTaxNo() {
return purchaserTaxNo;
}
public void setSellerBankAccount(String sellerBankAccount) {
this.sellerBankAccount = sellerBankAccount;
}
public String getSellerBankAccount() {
return sellerBankAccount;
}
public void setInvoiceCiphertext(String invoiceCiphertext) {
this.invoiceCiphertext = invoiceCiphertext;
}
public String getInvoiceCiphertext() {
return invoiceCiphertext;
}
public void setDetailList(List<DetailList> detailList) {
this.detailList = detailList;
}
public List<DetailList> getDetailList() {
return detailList;
}
public void setHasSeal(int hasSeal) {
this.hasSeal = hasSeal;
}
public int getHasSeal() {
return hasSeal;
}
public void setAmountTax(double amountTax) {
this.amountTax = amountTax;
}
public double getAmountTax() {
return amountTax;
}
}

View File

@ -1,33 +0,0 @@
package shkd.fi.fi.formplugin;
import kd.bos.bill.AbstractBillPlugIn;
import kd.bos.form.CloseCallBack;
import kd.bos.form.FormShowParameter;
import kd.bos.form.ShowType;
import kd.bos.form.control.events.ItemClickEvent;
import java.util.EventObject;
public class ApFinapbillFormPlugin extends AbstractBillPlugIn {
@Override
public void registerListener(EventObject e) {
super.registerListener(e);
this.addItemClickListeners("tbmain","shkd_fpocr");
}
@Override
public void itemClick(ItemClickEvent evt) {
super.itemClick(evt);
String itemKey = evt.getItemKey();
if ("shkd_fpocr".equals(itemKey)) {
FormShowParameter parameter = new FormShowParameter();
parameter.setCustomParam("id","");
parameter.setCustomParam("billno",this.getModel().getValue("billno"));
// parameter.setCustomParam("id","");
parameter.setFormId("shkd_uploadattachments");
parameter.setCloseCallBack(new CloseCallBack(this,"shkd_fpocr"));
parameter.getOpenStyle().setShowType(ShowType.Modal);
this.getView().showForm(parameter);
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -22,8 +22,8 @@ public class DebugApplication {
CosmicLauncher cosmic = new CosmicLauncher(false); CosmicLauncher cosmic = new CosmicLauncher(false);
cosmic.setClusterNumber("zyhy-test"); cosmic.setClusterNumber("SHHY-test");
cosmic.setTenantNumber("zyhy-test"); cosmic.setTenantNumber("SHHY-test");
// cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx"); // cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
cosmic.setConfigUrl("10.13.11.210:2181?user=zookeeper&password=Cosmic@2024"); cosmic.setConfigUrl("10.13.11.210:2181?user=zookeeper&password=Cosmic@2024");
@ -31,11 +31,8 @@ public class DebugApplication {
// cosmic.setMcServerUrl("http://127.0.0.1:8090"); // cosmic.setMcServerUrl("http://127.0.0.1:8090");
cosmic.setMcServerUrl("http://10.13.11.210:8090/mc"); cosmic.setMcServerUrl("http://10.13.11.210:8090/mc");
cosmic.setWebResPath("D:\\zyhy\\static-file-service"); cosmic.setWebResPath("E:/zyhy_wokspace/static-file-service");
cosmic.set("tempfile.cachetype","disk");
cosmic.set("diskcache.path","D:\\diskcache");
cosmic.set("lightweightdeploy","true");
// cosmic.setFsServerUrl("127.0.0.1", 8100); // cosmic.setFsServerUrl("127.0.0.1", 8100);
// cosmic.setImageServerUrl("127.0.0.1", 8100); // cosmic.setImageServerUrl("127.0.0.1", 8100);