|
@@ -1,173 +0,0 @@
|
|
-package com.uas.erp.schedular.finance.domain;
|
|
|
|
-
|
|
|
|
-import com.uas.erp.schedular.util.StringUtil;
|
|
|
|
-
|
|
|
|
-public class CreditApplyUserinfo {
|
|
|
|
-
|
|
|
|
- private String code; // 基础信息编号
|
|
|
|
- private String enBusinessMain; //主营业务
|
|
|
|
- private String enBusinessType; //经营类型
|
|
|
|
- private String enAreaProvince; //企业办公省市区(省)
|
|
|
|
- private String enAreaCity; //企业办公省市区(市)
|
|
|
|
- private String enAreaDistrict; //企业办公省市区(区)
|
|
|
|
- private String enAddress; //详细地址
|
|
|
|
- private String userName; //联系人姓名
|
|
|
|
- private String userPhone; //手机号码
|
|
|
|
- private String userAreaProvince; //联系人地址省市区(省)
|
|
|
|
- private String userAreaCity; //联系人地址省市区(市)
|
|
|
|
- private String userAreaDistrict;//联系人地址省市区(区)
|
|
|
|
- private String userAddress; //联系人详细地址
|
|
|
|
- private String enName; //企业名称
|
|
|
|
- private String creditApplyCode; //额度申请记录编号
|
|
|
|
-
|
|
|
|
- public String getCode() {
|
|
|
|
- return code;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCode(String code) {
|
|
|
|
- this.code = code;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnBusinessMain() {
|
|
|
|
- return enBusinessMain;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnBusinessMain(String enBusinessMain) {
|
|
|
|
- this.enBusinessMain = enBusinessMain;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnBusinessType() {
|
|
|
|
- return enBusinessType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnBusinessType(String enBusinessType) {
|
|
|
|
- this.enBusinessType = enBusinessType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnAreaProvince() {
|
|
|
|
- return enAreaProvince;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnAreaProvince(String enAreaProvince) {
|
|
|
|
- this.enAreaProvince = enAreaProvince;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnAreaCity() {
|
|
|
|
- return enAreaCity;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnAreaCity(String enAreaCity) {
|
|
|
|
- this.enAreaCity = enAreaCity;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnAreaDistrict() {
|
|
|
|
- return enAreaDistrict;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnAreaDistrict(String enAreaDistrict) {
|
|
|
|
- this.enAreaDistrict = enAreaDistrict;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnAddress() {
|
|
|
|
- return enAddress;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnAddress(String enAddress) {
|
|
|
|
- this.enAddress = enAddress;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserName() {
|
|
|
|
- return userName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserName(String userName) {
|
|
|
|
- this.userName = userName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserPhone() {
|
|
|
|
- return userPhone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserPhone(String userPhone) {
|
|
|
|
- this.userPhone = userPhone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserAreaProvince() {
|
|
|
|
- return userAreaProvince;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserAreaProvince(String userAreaProvince) {
|
|
|
|
- this.userAreaProvince = userAreaProvince;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserAreaCity() {
|
|
|
|
- return userAreaCity;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserAreaCity(String userAreaCity) {
|
|
|
|
- this.userAreaCity = userAreaCity;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserAreaDistrict() {
|
|
|
|
- return userAreaDistrict;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserAreaDistrict(String userAreaDistrict) {
|
|
|
|
- this.userAreaDistrict = userAreaDistrict;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUserAddress() {
|
|
|
|
- return userAddress;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserAddress(String userAddress) {
|
|
|
|
- this.userAddress = userAddress;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEnName() {
|
|
|
|
- return enName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEnName(String enName) {
|
|
|
|
- this.enName = enName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getCreditApplyCode() {
|
|
|
|
- return creditApplyCode;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCreditApplyCode(String creditApplyCode) {
|
|
|
|
- this.creditApplyCode = creditApplyCode;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String toCustomerInforInsertSql(String customerInforCode){
|
|
|
|
- String customerInforInsertSql = "insert into CustomerInfor(cu_id,cu_code,cu_name,cu_contact,cu_contactphone,cu_officeadd,cu_status,cu_statuscode,cu_recordman,cu_date) values("
|
|
|
|
- + "CustomerInfor_seq.nextval,'"
|
|
|
|
- + customerInforCode
|
|
|
|
- + "','"
|
|
|
|
- + StringUtil.nvl(this.enName,"")
|
|
|
|
- + "','"
|
|
|
|
- + StringUtil.nvl(this.userName,"")
|
|
|
|
- + "','"
|
|
|
|
- + StringUtil.nvl(this.userPhone,"")
|
|
|
|
- + "','"
|
|
|
|
- + this.enAreaProvince + this.enAreaCity + this.enAreaDistrict + this.enAddress
|
|
|
|
- + "','在录入','ENTERING','管理员',sysdate)";
|
|
|
|
- return customerInforInsertSql;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String toCustomerQuotaInsertSql(String customerQuotaCode, String customerInforCode){
|
|
|
|
- String customerQuotaInsertSql = "insert into CustomerQuota(cq_id,cq_code,cq_custcode,cq_custname,cq_b2bCreditCode,cq_sendStatus,cq_quotatype,cq_nomfcust,cq_class,cq_status,cq_statuscode,cq_recorder,cq_indate) values("
|
|
|
|
- + "CustomerQuota_seq.nextval,'"
|
|
|
|
- + customerQuotaCode
|
|
|
|
- + "','"
|
|
|
|
- + customerInforCode
|
|
|
|
- + "','"
|
|
|
|
- + this.enName
|
|
|
|
- + "','"
|
|
|
|
- + this.creditApplyCode
|
|
|
|
- + "','待上传','应收宝',-1,'应收宝额度申请单','在录入','ENTERING','管理员',sysdate"
|
|
|
|
- + ")";
|
|
|
|
- return customerQuotaInsertSql;
|
|
|
|
- }
|
|
|
|
-}
|
|
|