Merge branch 'master' of https://gitlab.jlcucc.com:52302/coscoshipping/biz_supplier_manage
This commit is contained in:
@ -1,75 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 BizSupplierAptitude
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
*/
|
||||
public class BizSupplierAptitudeField {
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 供应商注册表id
|
||||
*/
|
||||
public static final String SUPPLIER_REGISTER_ID = "supplier_register_id";
|
||||
|
||||
/**
|
||||
* 资质证书类型
|
||||
*/
|
||||
public static final String APTITUDE_CERTIFICATE_TYPE = "aptitude_certificate_type";
|
||||
|
||||
/**
|
||||
* 资质名称
|
||||
*/
|
||||
public static final String APITTUDE_NAME = "apittude_name";
|
||||
|
||||
/**
|
||||
* 资质证书编号
|
||||
*/
|
||||
public static final String APTITUDE_CERTIFICATE_NUM = "aptitude_certificate_num";
|
||||
|
||||
/**
|
||||
* 资质类别和等级
|
||||
*/
|
||||
public static final String APTITUDE_CATEGORY_LEVEL = "aptitude_category_level";
|
||||
|
||||
/**
|
||||
* 发证机构
|
||||
*/
|
||||
public static final String ISSUE_AUTHORITY = "issue_authority";
|
||||
|
||||
/**
|
||||
* 发证日期
|
||||
*/
|
||||
public static final String ISSUE_DATE = "issue_date";
|
||||
|
||||
/**
|
||||
* 资质有效期至
|
||||
*/
|
||||
public static final String APTITUDE_PERIOD_VALIDITY = "aptitude_period_validity";
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
public static final String ATTACHMENT = "attachment";
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
public static final String CREATE_DATE = "create_date";
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
public static final String UPDATE_DATE = "update_date";
|
||||
|
||||
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 BizSupplierBank
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
*/
|
||||
public class BizSupplierBankField {
|
||||
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 联行号
|
||||
*/
|
||||
public static final String INTERBANK_NUMBER = "interbank_number";
|
||||
|
||||
/**
|
||||
* 开户银行
|
||||
*/
|
||||
public static final String BANK_DEPOSIT = "bank_deposit";
|
||||
|
||||
/**
|
||||
* 账户名称
|
||||
*/
|
||||
public static final String ACCOUNT_NAME = "account_name";
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
public static final String ACCOUNT_NUM = "account_num";
|
||||
|
||||
/**
|
||||
* 国家
|
||||
*/
|
||||
public static final String COUNTRY = "country";
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
public static final String PROVINCE = "province";
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
public static final String CITY = "city";
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
public static final String CREATE_DATE = "create_date";
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
public static final String UPDATE_DATE = "update_date";
|
||||
|
||||
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 BizSupplierRegister
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
*/
|
||||
public class BizSupplierRegisterField {
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 身份类型 1境内企业/机构 2境外企业
|
||||
*/
|
||||
public static final String IDENTITY_TYPE = "identity_type";
|
||||
|
||||
/**
|
||||
* 供应商分类 1中央企业 2地方国有企业 3民营企业 4中央部委 5地方政府 6事业单位 7个体工商户 8其他
|
||||
*/
|
||||
public static final String SUPPLIER_CLASSIFICATION = "supplier_classification";
|
||||
|
||||
/**
|
||||
* 营业执照附件
|
||||
*/
|
||||
public static final String BUSINESS_LICENSE_URL = "business_license_url";
|
||||
|
||||
/**
|
||||
* 营业执照有效期
|
||||
*/
|
||||
public static final String BUSINESS_LICENSE_VALIDITY = "business_license_validity";
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
public static final String ENTERPRISE_NAME = "enterprise_name";
|
||||
|
||||
/**
|
||||
* 企业英文名
|
||||
*/
|
||||
public static final String ENTERPRISE_ENGLISH_NAME = "enterprise_english_name";
|
||||
|
||||
/**
|
||||
* 国家/地区(境外企业注册字段)
|
||||
*/
|
||||
public static final String COUNTRY = "country";
|
||||
|
||||
/**
|
||||
* 增值税号VAT
|
||||
*/
|
||||
public static final String VAT_NUM = "vat_num";
|
||||
|
||||
/**
|
||||
* 境外纳税人 ID号
|
||||
*/
|
||||
public static final String OVERSEAS_ID_NUMBER = "overseas_id_number";
|
||||
|
||||
/**
|
||||
* 统一社会信用代码
|
||||
*/
|
||||
public static final String CREDIT_CODE = "credit_code";
|
||||
|
||||
/**
|
||||
* 经营范围
|
||||
*/
|
||||
public static final String OPERATE_RANGE = "operate_range";
|
||||
|
||||
/**
|
||||
* 注册地址
|
||||
*/
|
||||
public static final String REGISTERED_ADDRESS = "registered_address";
|
||||
|
||||
/**
|
||||
* 办公地址
|
||||
*/
|
||||
public static final String OFFICE_ADDRESS = "office_address";
|
||||
|
||||
/**
|
||||
* 母公司/出资人信息
|
||||
*/
|
||||
public static final String INVESTOR_INFORMATION = "investor_information";
|
||||
|
||||
/**
|
||||
* 企业法定代表人/负责人
|
||||
*/
|
||||
public static final String IEGA_REPRESENTATIVE = "iega_representative";
|
||||
|
||||
/**
|
||||
* 企业法定代表人/负责人 身份证号
|
||||
*/
|
||||
public static final String ID_NUM = "id_num";
|
||||
|
||||
/**
|
||||
* 企业性质
|
||||
*/
|
||||
public static final String ENTERPRISE_NATURE = "enterprise_nature";
|
||||
|
||||
/**
|
||||
* 注册资本/实收资本
|
||||
*/
|
||||
public static final String REGISTERED_CAPITAL = "registered_capital";
|
||||
|
||||
/**
|
||||
* 币种 1USD 2EUR 3AUD 4CNY 5港币 6新币 7澳元 8其他
|
||||
*/
|
||||
public static final String CURRENCY = "currency";
|
||||
|
||||
/**
|
||||
* 供应商类型 1经销商 2代理商 3生产商 4服务商
|
||||
*/
|
||||
public static final String SUPPLIER_TYPE = "supplier_type";
|
||||
|
||||
/**
|
||||
* 联系人姓名
|
||||
*/
|
||||
public static final String CONTACT_NAME = "contact_name";
|
||||
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
public static final String CONTACT_PHONE = "contact_phone";
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
public static final String VERIFICATION_CODE = "verification_code";
|
||||
|
||||
/**
|
||||
* 联系人身份类别 1境内人士 2境外(非大陆人士)
|
||||
*/
|
||||
public static final String CONTACT_ID_CATEGORY = "contact_id_category";
|
||||
|
||||
/**
|
||||
* 境外人士身份证件号
|
||||
*/
|
||||
public static final String OVERSEAS_ID_NUM = "overseas_id_num";
|
||||
|
||||
/**
|
||||
* 联系人邮箱
|
||||
*/
|
||||
public static final String CONTACT_EMAIL = "contact_email";
|
||||
|
||||
/**
|
||||
* 固定电话
|
||||
*/
|
||||
public static final String TELEPHONE = "telephone";
|
||||
|
||||
/**
|
||||
* 纳税人类型
|
||||
*/
|
||||
public static final String TAXPAYER_TYPE = "taxpayer_type";
|
||||
|
||||
/**
|
||||
* 纳税人识别号
|
||||
*/
|
||||
public static final String TAXPAYER_IDENTIFICATION_NUM = "taxpayer_identification_num";
|
||||
|
||||
/**
|
||||
* 开票电话
|
||||
*/
|
||||
public static final String INVOICE_PHONE = "invoice_phone";
|
||||
|
||||
/**
|
||||
* 开票户行账号
|
||||
*/
|
||||
public static final String INVOICE_BANK_ACCOUNT = "invoice_bank_account";
|
||||
|
||||
/**
|
||||
* 开票抬头
|
||||
*/
|
||||
public static final String INVOICE_HEADER = "invoice_header";
|
||||
|
||||
/**
|
||||
* 开票地址
|
||||
*/
|
||||
public static final String INVOICE_ADDRESS = "invoice_address";
|
||||
|
||||
/**
|
||||
* 开票户行
|
||||
*/
|
||||
public static final String INVOICE_BANK = "invoice_bank";
|
||||
|
||||
/**
|
||||
* 一般纳税人资格证明
|
||||
*/
|
||||
public static final String QUALIFICATION_CERTIFICATE = "qualification_certificate";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人信息 供应商名称
|
||||
*/
|
||||
public static final String SUPPLIER_NAME = "supplier_name";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 姓名
|
||||
*/
|
||||
public static final String NAME = "name";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 职位
|
||||
*/
|
||||
public static final String POSITION = "position";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 电话号
|
||||
*/
|
||||
public static final String PHONE = "phone";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 邮箱
|
||||
*/
|
||||
public static final String EMAIL = "email";
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 填写日期
|
||||
*/
|
||||
public static final String DATE = "date";
|
||||
|
||||
/**
|
||||
* 供应商反商业贿赂承诺书 已加盖公司公章
|
||||
*/
|
||||
public static final String COMMITMENT_LETTER_URL = "commitment_letter_url";
|
||||
|
||||
/**
|
||||
* 其他附件
|
||||
*/
|
||||
public static final String OTHER_ATTACHMENT_URL = "other_attachment_url";
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
public static final String CREATE_DATE = "create_date";
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
public static final String UPDATE_DATE = "update_date";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierBank
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierBankField {
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 供应商id cosco_supplier_base表主键
|
||||
*/
|
||||
public static final String SUPPLIER_ID = "supplier_id";
|
||||
|
||||
/**
|
||||
* 开户银行
|
||||
*/
|
||||
public static final String BANK = "bank";
|
||||
|
||||
/**
|
||||
* SWIFT CODE
|
||||
*/
|
||||
public static final String SWIFT_CODE = "swift_code";
|
||||
|
||||
/**
|
||||
* 账户名称
|
||||
*/
|
||||
public static final String ACCOUNT_NAME = "account_name";
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
public static final String ACCOUNT = "account";
|
||||
|
||||
/**
|
||||
* 国家
|
||||
*/
|
||||
public static final String NATION = "nation";
|
||||
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
public static final String PROVINCE = "province";
|
||||
|
||||
/**
|
||||
* 地市
|
||||
*/
|
||||
public static final String CITY = "city";
|
||||
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
public static final String STATUS = "status";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,228 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierBase
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierBaseField {
|
||||
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 身份类型
|
||||
*/
|
||||
public static final String TYPE = "type";
|
||||
|
||||
/**
|
||||
* 供应商分类 -- 字典code
|
||||
*/
|
||||
public static final String KIND_CODE = "kind_code";
|
||||
|
||||
/**
|
||||
* 供应商分类 -- 字典名称
|
||||
*/
|
||||
public static final String KIND_NAME = "kind_name";
|
||||
|
||||
/**
|
||||
* 营业执照附件
|
||||
*/
|
||||
public static final String LICENCE_ACCESSORY = "licence_accessory";
|
||||
|
||||
/**
|
||||
* 营业执照有效期
|
||||
*/
|
||||
public static final String LICENCE_DATE = "licence_date";
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
public static final String NAME = "name";
|
||||
|
||||
/**
|
||||
* 英文名称
|
||||
*/
|
||||
public static final String ENG_NAME = "eng_name";
|
||||
|
||||
/**
|
||||
* 统一社会信用代码
|
||||
*/
|
||||
public static final String SOCIAL_CREDIT_CODE = "social_credit_code";
|
||||
|
||||
/**
|
||||
* 经营范围
|
||||
*/
|
||||
public static final String RANGE = "range";
|
||||
|
||||
/**
|
||||
* 注册地址
|
||||
*/
|
||||
public static final String REG_ADDRESS = "reg_address";
|
||||
|
||||
/**
|
||||
* 办公地址
|
||||
*/
|
||||
public static final String WORK_ADDRESS = "work_address";
|
||||
|
||||
/**
|
||||
* 母公司出资人信息
|
||||
*/
|
||||
public static final String PARENT_COMPANY_INVESTOR = "parent_company_investor";
|
||||
|
||||
/**
|
||||
* 企业法定代表人
|
||||
*/
|
||||
public static final String LEGAL_PERSON = "legal_person";
|
||||
|
||||
/**
|
||||
* 身份证
|
||||
*/
|
||||
public static final String ID_CARD = "id_card";
|
||||
|
||||
/**
|
||||
* 企业性质
|
||||
*/
|
||||
public static final String NATURE = "nature";
|
||||
|
||||
/**
|
||||
* 注册资本
|
||||
*/
|
||||
public static final String CAPITAL = "capital";
|
||||
|
||||
/**
|
||||
* 供应商类型 -- 字典
|
||||
*/
|
||||
public static final String CATEGORY_TYPE_CODE = "category_type_code";
|
||||
|
||||
/**
|
||||
* 供应商类型 --字典名称
|
||||
*/
|
||||
public static final String CATEGORY_TYPE_NAME = "category_type_name";
|
||||
|
||||
/**
|
||||
* 联系人姓名
|
||||
*/
|
||||
public static final String CONTACTS_NAME = "contacts_name";
|
||||
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
public static final String CONTACTS_PHONE = "contacts_phone";
|
||||
|
||||
/**
|
||||
* 联系人身份类别
|
||||
*/
|
||||
public static final String CONTACTS_TYPE = "contacts_type";
|
||||
|
||||
/**
|
||||
* 联系人邮箱
|
||||
*/
|
||||
public static final String CONTACTS_EMAIL = "contacts_email";
|
||||
|
||||
/**
|
||||
* 固定电话
|
||||
*/
|
||||
public static final String TELEPHONE = "telephone";
|
||||
|
||||
/**
|
||||
* 境外企业- 国家地区
|
||||
*/
|
||||
public static final String NATION = "nation";
|
||||
|
||||
/**
|
||||
* 境外企业-增值税号VAT
|
||||
*/
|
||||
public static final String VAT = "vat";
|
||||
|
||||
/**
|
||||
* 境外企业-境外纳税人ID号
|
||||
*/
|
||||
public static final String TAXPAYER_ID = "taxpayer_id";
|
||||
|
||||
/**
|
||||
* 境外企业-币种
|
||||
*/
|
||||
public static final String CURRENCY = "currency";
|
||||
|
||||
/**
|
||||
* 供应商反商业贿赂承诺书
|
||||
*/
|
||||
public static final String COMMITMENT = "commitment";
|
||||
|
||||
/**
|
||||
* 其他附件
|
||||
*/
|
||||
public static final String ACCESSORY = "accessory";
|
||||
|
||||
/**
|
||||
* 姓名-- 个人
|
||||
*/
|
||||
public static final String PERSON_NAME = "person_name";
|
||||
|
||||
/**
|
||||
* 联系电话-- 个人
|
||||
*/
|
||||
public static final String PERSON_PHONE = "person_phone";
|
||||
|
||||
/**
|
||||
* 开户行-- 个人
|
||||
*/
|
||||
public static final String PERSON_BANK = "person_bank";
|
||||
|
||||
/**
|
||||
* 银行账号-- 个人
|
||||
*/
|
||||
public static final String PERSON_ACCOUNT = "person_account";
|
||||
|
||||
/**
|
||||
* 相关证照文件id
|
||||
*/
|
||||
public static final String LICENCE = "licence";
|
||||
|
||||
/**
|
||||
* 供应商状态 是否合格
|
||||
*/
|
||||
public static final String STATUS = "status";
|
||||
|
||||
/**
|
||||
* 审批状态
|
||||
*/
|
||||
public static final String APPROVE_STATUS = "approve_status";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 是否在黑名单
|
||||
*/
|
||||
public static final String IN_BLACKLIST = "in_blacklist";
|
||||
|
||||
/**
|
||||
* 是否第一次登录
|
||||
*/
|
||||
public static final String FIRST_LOGIN = "first_login";
|
||||
|
||||
/**
|
||||
* 是否是-退出供应商
|
||||
*/
|
||||
public static final String EXIT = "exit";
|
||||
|
||||
/**
|
||||
* 是否是代理商
|
||||
*/
|
||||
public static final String AGENT = "agent";
|
||||
|
||||
/**
|
||||
* sap_code 约束付款编码
|
||||
*/
|
||||
public static final String SAP_CODE = "sap_code";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierInvoice
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierInvoiceField {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 供应商id
|
||||
*/
|
||||
public static final String SUPPLIER_ID = "supplier_id";
|
||||
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
public static final String SUPPLIER_NAME = "supplier_name";
|
||||
|
||||
/**
|
||||
* 纳税人类型
|
||||
*/
|
||||
public static final String TAXPAYER_TYPE = "taxpayer_type";
|
||||
|
||||
/**
|
||||
* 纳税人识别号
|
||||
*/
|
||||
public static final String TAXPAYER_CODE = "taxpayer_code";
|
||||
|
||||
/**
|
||||
* 开票电话
|
||||
*/
|
||||
public static final String PHONE = "phone";
|
||||
|
||||
/**
|
||||
* 开票户行账号
|
||||
*/
|
||||
public static final String ACCOUNT = "account";
|
||||
|
||||
/**
|
||||
* 开票抬头
|
||||
*/
|
||||
public static final String HEAD = "head";
|
||||
|
||||
/**
|
||||
* 开票地址
|
||||
*/
|
||||
public static final String ADDRESS = "address";
|
||||
|
||||
/**
|
||||
* 开票户行
|
||||
*/
|
||||
public static final String BANK = "bank";
|
||||
|
||||
/**
|
||||
* 一般纳税人资格证明
|
||||
*/
|
||||
public static final String QUALIFICATION_CERTIFICATE = "qualification_certificate";
|
||||
|
||||
/**
|
||||
* 身份类型--境外企业没有此项目
|
||||
*/
|
||||
public static final String TYPE = "type";
|
||||
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
public static final String STATUS = "status";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierQualifications
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierQualificationsField {
|
||||
|
||||
|
||||
/**
|
||||
* 资质信息
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 供应商id cosco_supplier_base表主键
|
||||
*/
|
||||
public static final String SUPPLIER_ID = "supplier_id";
|
||||
|
||||
/**
|
||||
* 资质证书类型
|
||||
*/
|
||||
public static final String CERTIFICATE_TYPE = "certificate_type";
|
||||
|
||||
/**
|
||||
* 资质名称
|
||||
*/
|
||||
public static final String NAME = "name";
|
||||
|
||||
/**
|
||||
* 资质证书编号
|
||||
*/
|
||||
public static final String CODE = "code";
|
||||
|
||||
/**
|
||||
* 资质类别和等级
|
||||
*/
|
||||
public static final String TYPE_LEVEL = "type_level";
|
||||
|
||||
/**
|
||||
* 发证机构
|
||||
*/
|
||||
public static final String AUTHORITY = "authority";
|
||||
|
||||
/**
|
||||
* 发证日期
|
||||
*/
|
||||
public static final String DATE_TIME = "date_time";
|
||||
|
||||
/**
|
||||
* 资质有效期至
|
||||
*/
|
||||
public static final String TERM_OF_VALIDITY = "term_of_validity";
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
public static final String ACCESSORY = "accessory";
|
||||
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
public static final String STATUS = "status";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierSurvey
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierSurveyField {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 供应商id
|
||||
*/
|
||||
public static final String SUPPLIER_ID = "supplier_id";
|
||||
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
public static final String SUPPLIER_NAME = "supplier_name";
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
public static final String NAME = "name";
|
||||
|
||||
/**
|
||||
* 职位
|
||||
*/
|
||||
public static final String POSITION = "position";
|
||||
|
||||
/**
|
||||
* 电话号
|
||||
*/
|
||||
public static final String PHONE = "phone";
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
public static final String EMAIL = "email";
|
||||
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
public static final String DATETIME = "dateTime";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierSurveyQuestion
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierSurveyQuestionField {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 问题
|
||||
*/
|
||||
public static final String QUESTION = "question";
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
public static final String ORDER_BY = "order_by";
|
||||
|
||||
/**
|
||||
* 供应商注册问卷id
|
||||
*/
|
||||
public static final String SUPPLIER_SURVEY_ID = "supplier_survey_id";
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.column;
|
||||
|
||||
|
||||
/**
|
||||
* 字段常量 CoscoSupplierexit
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public class CoscoSupplierexitField {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final String ID = "id";
|
||||
|
||||
/**
|
||||
* 退出主题
|
||||
*/
|
||||
public static final String EXIT_THEME = "exit_theme";
|
||||
|
||||
/**
|
||||
* 退出原因
|
||||
*/
|
||||
public static final String EXIT_REASON = "exit_reason";
|
||||
|
||||
/**
|
||||
* 发起单位id
|
||||
*/
|
||||
public static final String DEPT_ID = "dept_id";
|
||||
|
||||
/**
|
||||
* 发起单位名称
|
||||
*/
|
||||
public static final String DEPT_NAME = "dept_name";
|
||||
|
||||
/**
|
||||
* 审批状态 0待审批 1审批中 2审批结束
|
||||
*/
|
||||
public static final String STATUS = "status";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "供应商准入")
|
||||
@RequestMapping("/api/bizsupplieraccess")
|
||||
public class BizSupplierAccessController {
|
||||
|
||||
|
||||
}
|
@ -3,9 +3,9 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegister;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegisterVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierRegisterService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBankVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierBankService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
@ -17,45 +17,45 @@ import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 供应商注册表 Controller
|
||||
* 中远海运_供应商_银行账户 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "供应商注册表")
|
||||
@RequestMapping("/api/bizsupplierregister")
|
||||
public class BizSupplierRegisterController{
|
||||
@Api(tags = "中远海运_供应商_银行账户")
|
||||
@RequestMapping("/api/coscosupplierbank")
|
||||
public class CoscoSupplierBankController{
|
||||
|
||||
@Resource
|
||||
private IBizSupplierRegisterService bizSupplierRegisterService;
|
||||
private ICoscoSupplierBankService coscoSupplierBankService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param bizSupplierRegister 实体类
|
||||
* @param coscoSupplierBank 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid BizSupplierRegister bizSupplierRegister){
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierBank coscoSupplierBank){
|
||||
|
||||
return BaseResponse.success(bizSupplierRegisterService.save(bizSupplierRegister));
|
||||
return BaseResponse.success(coscoSupplierBankService.save(coscoSupplierBank));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param bizSupplierRegister 实体类
|
||||
* @param coscoSupplierBank 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierRegister bizSupplierRegister){
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierBank coscoSupplierBank){
|
||||
|
||||
return BaseResponse.success(bizSupplierRegisterService.updateById(bizSupplierRegister));
|
||||
return BaseResponse.success(coscoSupplierBankService.updateById(coscoSupplierBank));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -67,9 +67,9 @@ public class BizSupplierRegisterController{
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<BizSupplierRegister> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
public BaseResponse<CoscoSupplierBank> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierRegisterService.getById(id));
|
||||
return BaseResponse.success(coscoSupplierBankService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -83,20 +83,20 @@ public class BizSupplierRegisterController{
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierRegisterService.removeById(id));
|
||||
return BaseResponse.success(coscoSupplierBankService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param bizSupplierRegisterVO 分页信息
|
||||
* @param coscoSupplierBankVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<BizSupplierRegisterVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierRegisterVO bizSupplierRegisterVO) {
|
||||
public BaseResponse<IPage<CoscoSupplierBankVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierBankVO coscoSupplierBankVO) {
|
||||
|
||||
return BaseResponse.success(bizSupplierRegisterService.getPage(bizSupplierRegisterVO));
|
||||
return BaseResponse.success(coscoSupplierBankService.getPage(coscoSupplierBankVO));
|
||||
}
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBase;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBaseVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierBaseService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 中远海运_供应商_基本信息 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "中远海运_供应商_基本信息")
|
||||
@RequestMapping("/api/coscosupplierbase")
|
||||
public class CoscoSupplierBaseController{
|
||||
|
||||
@Resource
|
||||
private ICoscoSupplierBaseService coscoSupplierBaseService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param coscoSupplierBaseVO 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierBaseVO coscoSupplierBaseVO){
|
||||
|
||||
return BaseResponse.success(coscoSupplierBaseService.saveRegister(coscoSupplierBaseVO));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param coscoSupplierBase 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierBase coscoSupplierBase){
|
||||
|
||||
return BaseResponse.success(coscoSupplierBaseService.updateById(coscoSupplierBase));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询数据
|
||||
*
|
||||
* @param id 实体类主键
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<CoscoSupplierBase> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierBaseService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param id 实体ID
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierBaseService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param coscoSupplierBaseVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<CoscoSupplierBaseVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierBaseVO coscoSupplierBaseVO) {
|
||||
|
||||
return BaseResponse.success(coscoSupplierBaseService.getPage(coscoSupplierBaseVO));
|
||||
}
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoice;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoiceVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierInvoiceService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 中远海运_供应商_开票信息 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "中远海运_供应商_开票信息")
|
||||
@RequestMapping("/api/coscosupplierinvoice")
|
||||
public class CoscoSupplierInvoiceController{
|
||||
|
||||
@Resource
|
||||
private ICoscoSupplierInvoiceService coscoSupplierInvoiceService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param coscoSupplierInvoice 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierInvoice coscoSupplierInvoice){
|
||||
|
||||
return BaseResponse.success(coscoSupplierInvoiceService.save(coscoSupplierInvoice));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param coscoSupplierInvoice 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierInvoice coscoSupplierInvoice){
|
||||
|
||||
return BaseResponse.success(coscoSupplierInvoiceService.updateById(coscoSupplierInvoice));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询数据
|
||||
*
|
||||
* @param id 实体类主键
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<CoscoSupplierInvoice> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierInvoiceService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param id 实体ID
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierInvoiceService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param coscoSupplierInvoiceVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<CoscoSupplierInvoiceVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierInvoiceVO coscoSupplierInvoiceVO) {
|
||||
|
||||
return BaseResponse.success(coscoSupplierInvoiceService.getPage(coscoSupplierInvoiceVO));
|
||||
}
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualifications;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualificationsVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierQualificationsService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 中远海运_供应商_资质信息 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "中远海运_供应商_资质信息")
|
||||
@RequestMapping("/api/coscosupplierqualifications")
|
||||
public class CoscoSupplierQualificationsController{
|
||||
|
||||
@Resource
|
||||
private ICoscoSupplierQualificationsService coscoSupplierQualificationsService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param coscoSupplierQualifications 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierQualifications coscoSupplierQualifications){
|
||||
|
||||
return BaseResponse.success(coscoSupplierQualificationsService.save(coscoSupplierQualifications));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param coscoSupplierQualifications 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierQualifications coscoSupplierQualifications){
|
||||
|
||||
return BaseResponse.success(coscoSupplierQualificationsService.updateById(coscoSupplierQualifications));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询数据
|
||||
*
|
||||
* @param id 实体类主键
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<CoscoSupplierQualifications> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierQualificationsService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param id 实体ID
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierQualificationsService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param coscoSupplierQualificationsVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<CoscoSupplierQualificationsVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierQualificationsVO coscoSupplierQualificationsVO) {
|
||||
|
||||
return BaseResponse.success(coscoSupplierQualificationsService.getPage(coscoSupplierQualificationsVO));
|
||||
}
|
||||
}
|
@ -3,10 +3,9 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitude;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitudeVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierAptitudeService;
|
||||
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurvey;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierSurveyService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
@ -18,45 +17,45 @@ import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 供应商注册资质表 Controller
|
||||
* 中远海运_供应商_社会准则符合性自查问卷 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "供应商注册资质表")
|
||||
@RequestMapping("/api/bizsupplieraptitude")
|
||||
public class BizSupplierAptitudeController{
|
||||
@Api(tags = "中远海运_供应商_社会准则符合性自查问卷")
|
||||
@RequestMapping("/api/coscosuppliersurvey")
|
||||
public class CoscoSupplierSurveyController{
|
||||
|
||||
@Resource
|
||||
private IBizSupplierAptitudeService bizSupplierAptitudeService;
|
||||
private ICoscoSupplierSurveyService coscoSupplierSurveyService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param bizSupplierAptitude 实体类
|
||||
* @param coscoSupplierSurvey 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid BizSupplierAptitude bizSupplierAptitude){
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierSurvey coscoSupplierSurvey){
|
||||
|
||||
return BaseResponse.success(bizSupplierAptitudeService.save(bizSupplierAptitude));
|
||||
return BaseResponse.success(coscoSupplierSurveyService.save(coscoSupplierSurvey));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param bizSupplierAptitude 实体类
|
||||
* @param coscoSupplierSurvey 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierAptitude bizSupplierAptitude){
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierSurvey coscoSupplierSurvey){
|
||||
|
||||
return BaseResponse.success(bizSupplierAptitudeService.updateById(bizSupplierAptitude));
|
||||
return BaseResponse.success(coscoSupplierSurveyService.updateById(coscoSupplierSurvey));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -68,9 +67,9 @@ public class BizSupplierAptitudeController{
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<BizSupplierAptitude> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
public BaseResponse<CoscoSupplierSurvey> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierAptitudeService.getById(id));
|
||||
return BaseResponse.success(coscoSupplierSurveyService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -84,20 +83,20 @@ public class BizSupplierAptitudeController{
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierAptitudeService.removeById(id));
|
||||
return BaseResponse.success(coscoSupplierSurveyService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param bizSupplierAptitudeVO 分页信息
|
||||
* @param coscoSupplierSurveyVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<BizSupplierAptitudeVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierAptitudeVO bizSupplierAptitudeVO) {
|
||||
public BaseResponse<IPage<CoscoSupplierSurveyVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierSurveyVO coscoSupplierSurveyVO) {
|
||||
|
||||
return BaseResponse.success(bizSupplierAptitudeService.getPage(bizSupplierAptitudeVO));
|
||||
return BaseResponse.success(coscoSupplierSurveyService.getPage(coscoSupplierSurveyVO));
|
||||
}
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestion;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestionVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierSurveyQuestionService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 供应商注册 - 问卷 - 问题表 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "供应商注册 - 问卷 - 问题表")
|
||||
@RequestMapping("/api/coscosuppliersurveyquestion")
|
||||
public class CoscoSupplierSurveyQuestionController{
|
||||
|
||||
@Resource
|
||||
private ICoscoSupplierSurveyQuestionService coscoSupplierSurveyQuestionService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param coscoSupplierSurveyQuestion 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierSurveyQuestion coscoSupplierSurveyQuestion){
|
||||
|
||||
return BaseResponse.success(coscoSupplierSurveyQuestionService.save(coscoSupplierSurveyQuestion));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param coscoSupplierSurveyQuestion 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierSurveyQuestion coscoSupplierSurveyQuestion){
|
||||
|
||||
return BaseResponse.success(coscoSupplierSurveyQuestionService.updateById(coscoSupplierSurveyQuestion));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询数据
|
||||
*
|
||||
* @param id 实体类主键
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<CoscoSupplierSurveyQuestion> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierSurveyQuestionService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param id 实体ID
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(coscoSupplierSurveyQuestionService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param coscoSupplierSurveyQuestionVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<CoscoSupplierSurveyQuestionVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierSurveyQuestionVO coscoSupplierSurveyQuestionVO) {
|
||||
|
||||
return BaseResponse.success(coscoSupplierSurveyQuestionService.getPage(coscoSupplierSurveyQuestionVO));
|
||||
}
|
||||
}
|
@ -3,9 +3,9 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBankVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierBankService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexit;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexitVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierexitService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
@ -17,45 +17,45 @@ import javax.validation.Valid;
|
||||
|
||||
|
||||
/**
|
||||
* 供应商注册银行卡信息表 Controller
|
||||
* 退出供应商任务 Controller
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Validated
|
||||
@RestController
|
||||
@Api(tags = "供应商注册银行卡信息表")
|
||||
@RequestMapping("/api/bizsupplierbank")
|
||||
public class BizSupplierBankController{
|
||||
@Api(tags = "退出供应商任务")
|
||||
@RequestMapping("/api/coscosupplierexit")
|
||||
public class CoscoSupplierexitController{
|
||||
|
||||
@Resource
|
||||
private IBizSupplierBankService bizSupplierBankService;
|
||||
private ICoscoSupplierexitService coscoSupplierexitService;
|
||||
|
||||
/**
|
||||
* 插入新数据
|
||||
*
|
||||
* @param bizSupplierBank 实体类
|
||||
* @param coscoSupplierexit 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("插入新数据")
|
||||
@PostMapping("")
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid BizSupplierBank bizSupplierBank){
|
||||
public BaseResponse<Boolean> insert(@ApiParam(value = "对象数据", required = true) @RequestBody @Valid CoscoSupplierexit coscoSupplierexit){
|
||||
|
||||
return BaseResponse.success(bizSupplierBankService.save(bizSupplierBank));
|
||||
return BaseResponse.success(coscoSupplierexitService.save(coscoSupplierexit));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param bizSupplierBank 实体类
|
||||
* @param coscoSupplierexit 实体类
|
||||
*
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/update")
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierBank bizSupplierBank){
|
||||
public BaseResponse<Boolean> update(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierexit coscoSupplierexit){
|
||||
|
||||
return BaseResponse.success(bizSupplierBankService.updateById(bizSupplierBank));
|
||||
return BaseResponse.success(coscoSupplierexitService.updateById(coscoSupplierexit));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -67,9 +67,9 @@ public class BizSupplierBankController{
|
||||
*/
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/{id}")
|
||||
public BaseResponse<BizSupplierBank> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
public BaseResponse<CoscoSupplierexit> get(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierBankService.getById(id));
|
||||
return BaseResponse.success(coscoSupplierexitService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -83,20 +83,20 @@ public class BizSupplierBankController{
|
||||
@GetMapping("/delete/{id}")
|
||||
public BaseResponse<Boolean> delete(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||
|
||||
return BaseResponse.success(bizSupplierBankService.removeById(id));
|
||||
return BaseResponse.success(coscoSupplierexitService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询分页数据
|
||||
*
|
||||
* @param bizSupplierBankVO 分页信息
|
||||
* @param coscoSupplierexitVO 分页信息
|
||||
* @return 返回结果
|
||||
*/
|
||||
@ApiOperation("查询分页数据")
|
||||
@PostMapping("/getPage")
|
||||
public BaseResponse<IPage<BizSupplierBankVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody BizSupplierBankVO bizSupplierBankVO) {
|
||||
public BaseResponse<IPage<CoscoSupplierexitVO>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody CoscoSupplierexitVO coscoSupplierexitVO) {
|
||||
|
||||
return BaseResponse.success(bizSupplierBankService.getPage(bizSupplierBankVO));
|
||||
return BaseResponse.success(coscoSupplierexitService.getPage(coscoSupplierexitVO));
|
||||
}
|
||||
}
|
@ -2,14 +2,14 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitude;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBank;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_aptitude 操作的 dao
|
||||
* 对数据表 cosco_supplier_bank 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface BizSupplierAptitudeMapper extends IBaseMapper<BizSupplierAptitude> {
|
||||
public interface CoscoSupplierBankMapper extends IBaseMapper<CoscoSupplierBank> {
|
||||
|
||||
|
||||
}
|
@ -2,14 +2,14 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegister;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBase;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_register 操作的 dao
|
||||
* 对数据表 cosco_supplier_base 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface BizSupplierRegisterMapper extends IBaseMapper<BizSupplierRegister> {
|
||||
public interface CoscoSupplierBaseMapper extends IBaseMapper<CoscoSupplierBase> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoice;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_invoice 操作的 dao
|
||||
*
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface CoscoSupplierInvoiceMapper extends IBaseMapper<CoscoSupplierInvoice> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualifications;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_qualifications 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface CoscoSupplierQualificationsMapper extends IBaseMapper<CoscoSupplierQualifications> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurvey;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_survey 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface CoscoSupplierSurveyMapper extends IBaseMapper<CoscoSupplierSurvey> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestion;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_survey_question 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface CoscoSupplierSurveyQuestionMapper extends IBaseMapper<CoscoSupplierSurveyQuestion> {
|
||||
|
||||
|
||||
}
|
@ -2,14 +2,14 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao;
|
||||
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.dao.IBaseMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexit;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_bank 操作的 dao
|
||||
* 对数据表 cosco_supplierexit 操作的 dao
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface BizSupplierBankMapper extends IBaseMapper<BizSupplierBank> {
|
||||
public interface CoscoSupplierexitMapper extends IBaseMapper<CoscoSupplierexit> {
|
||||
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierAptitudeMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitude">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="supplier_register_id" jdbcType="VARCHAR" property="supplierRegisterId"/>
|
||||
<result column="aptitude_certificate_type" jdbcType="VARCHAR" property="aptitudeCertificateType"/>
|
||||
<result column="apittude_name" jdbcType="VARCHAR" property="apittudeName"/>
|
||||
<result column="aptitude_certificate_num" jdbcType="VARCHAR" property="aptitudeCertificateNum"/>
|
||||
<result column="aptitude_category_level" jdbcType="VARCHAR" property="aptitudeCategoryLevel"/>
|
||||
<result column="issue_authority" jdbcType="VARCHAR" property="issueAuthority"/>
|
||||
<result column="issue_date" jdbcType="TIMESTAMP" property="issueDate"/>
|
||||
<result column="aptitude_period_validity" jdbcType="TIMESTAMP" property="aptitudePeriodValidity"/>
|
||||
<result column="attachment" jdbcType="VARCHAR" property="attachment"/>
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/>
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from biz_supplier_aptitude where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierRegisterMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegister">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="identity_type" jdbcType="VARCHAR" property="identityType"/>
|
||||
<result column="supplier_classification" jdbcType="VARCHAR" property="supplierClassification"/>
|
||||
<result column="business_license_url" jdbcType="VARCHAR" property="businessLicenseUrl"/>
|
||||
<result column="business_license_validity" jdbcType="TIMESTAMP" property="businessLicenseValidity"/>
|
||||
<result column="enterprise_name" jdbcType="VARCHAR" property="enterpriseName"/>
|
||||
<result column="enterprise_english_name" jdbcType="VARCHAR" property="enterpriseEnglishName"/>
|
||||
<result column="country" jdbcType="VARCHAR" property="country"/>
|
||||
<result column="vat_num" jdbcType="VARCHAR" property="vatNum"/>
|
||||
<result column="overseas_id_number" jdbcType="VARCHAR" property="overseasIdNumber"/>
|
||||
<result column="credit_code" jdbcType="VARCHAR" property="creditCode"/>
|
||||
<result column="operate_range" jdbcType="VARCHAR" property="operateRange"/>
|
||||
<result column="registered_address" jdbcType="VARCHAR" property="registeredAddress"/>
|
||||
<result column="office_address" jdbcType="VARCHAR" property="officeAddress"/>
|
||||
<result column="investor_information" jdbcType="VARCHAR" property="investorInformation"/>
|
||||
<result column="iega_representative" jdbcType="VARCHAR" property="iegaRepresentative"/>
|
||||
<result column="id_num" jdbcType="INTEGER" property="idNum"/>
|
||||
<result column="enterprise_nature" jdbcType="VARCHAR" property="enterpriseNature"/>
|
||||
<result column="registered_capital" jdbcType="VARCHAR" property="registeredCapital"/>
|
||||
<result column="currency" jdbcType="VARCHAR" property="currency"/>
|
||||
<result column="supplier_type" jdbcType="INTEGER" property="supplierType"/>
|
||||
<result column="contact_name" jdbcType="VARCHAR" property="contactName"/>
|
||||
<result column="contact_phone" jdbcType="VARCHAR" property="contactPhone"/>
|
||||
<result column="verification_code" jdbcType="VARCHAR" property="verificationCode"/>
|
||||
<result column="contact_id_category" jdbcType="INTEGER" property="contactIdCategory"/>
|
||||
<result column="overseas_id_num" jdbcType="VARCHAR" property="overseasIdNum"/>
|
||||
<result column="contact_email" jdbcType="VARCHAR" property="contactEmail"/>
|
||||
<result column="telephone" jdbcType="VARCHAR" property="telephone"/>
|
||||
<result column="taxpayer_type" jdbcType="VARCHAR" property="taxpayerType"/>
|
||||
<result column="taxpayer_identification_num" jdbcType="VARCHAR" property="taxpayerIdentificationNum"/>
|
||||
<result column="invoice_phone" jdbcType="VARCHAR" property="invoicePhone"/>
|
||||
<result column="invoice_bank_account" jdbcType="VARCHAR" property="invoiceBankAccount"/>
|
||||
<result column="invoice_header" jdbcType="VARCHAR" property="invoiceHeader"/>
|
||||
<result column="invoice_address" jdbcType="VARCHAR" property="invoiceAddress"/>
|
||||
<result column="invoice_bank" jdbcType="VARCHAR" property="invoiceBank"/>
|
||||
<result column="qualification_certificate" jdbcType="VARCHAR" property="qualificationCertificate"/>
|
||||
<result column="supplier_name" jdbcType="VARCHAR" property="supplierName"/>
|
||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||
<result column="position" jdbcType="VARCHAR" property="position"/>
|
||||
<result column="phone" jdbcType="VARCHAR" property="phone"/>
|
||||
<result column="email" jdbcType="VARCHAR" property="email"/>
|
||||
<result column="date" jdbcType="TIMESTAMP" property="date"/>
|
||||
<result column="commitment_letter_url" jdbcType="VARCHAR" property="commitmentLetterUrl"/>
|
||||
<result column="other_attachment_url" jdbcType="VARCHAR" property="otherAttachmentUrl"/>
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/>
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from biz_supplier_register where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -2,24 +2,24 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierBankMapper">
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierBankMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBank">
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBank">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="interbank_number" jdbcType="VARCHAR" property="interbankNumber"/>
|
||||
<result column="bank_deposit" jdbcType="VARCHAR" property="bankDeposit"/>
|
||||
<result column="supplier_id" jdbcType="VARCHAR" property="supplierId"/>
|
||||
<result column="bank" jdbcType="VARCHAR" property="bank"/>
|
||||
<result column="swift_code" jdbcType="VARCHAR" property="swiftCode"/>
|
||||
<result column="account_name" jdbcType="VARCHAR" property="accountName"/>
|
||||
<result column="account_num" jdbcType="VARCHAR" property="accountNum"/>
|
||||
<result column="country" jdbcType="VARCHAR" property="country"/>
|
||||
<result column="account" jdbcType="VARCHAR" property="account"/>
|
||||
<result column="nation" jdbcType="VARCHAR" property="nation"/>
|
||||
<result column="province" jdbcType="VARCHAR" property="province"/>
|
||||
<result column="city" jdbcType="VARCHAR" property="city"/>
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/>
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
|
||||
<result column="status" jdbcType="INTEGER" property="status"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from biz_supplier_bank where id in(${ids})
|
||||
delete from cosco_supplier_bank where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierBaseMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBase">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="type" jdbcType="VARCHAR" property="type"/>
|
||||
<result column="kind_code" jdbcType="VARCHAR" property="kindCode"/>
|
||||
<result column="kind_name" jdbcType="VARCHAR" property="kindName"/>
|
||||
<result column="licence_accessory" jdbcType="VARCHAR" property="licenceAccessory"/>
|
||||
<result column="licence_date" jdbcType="VARCHAR" property="licenceDate"/>
|
||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||
<result column="eng_name" jdbcType="VARCHAR" property="engName"/>
|
||||
<result column="social_credit_code" jdbcType="VARCHAR" property="socialCreditCode"/>
|
||||
<result column="range" jdbcType="VARCHAR" property="range"/>
|
||||
<result column="reg_address" jdbcType="VARCHAR" property="regAddress"/>
|
||||
<result column="work_address" jdbcType="VARCHAR" property="workAddress"/>
|
||||
<result column="parent_company_investor" jdbcType="VARCHAR" property="parentCompanyInvestor"/>
|
||||
<result column="legal_person" jdbcType="VARCHAR" property="legalPerson"/>
|
||||
<result column="id_card" jdbcType="VARCHAR" property="idCard"/>
|
||||
<result column="nature" jdbcType="VARCHAR" property="nature"/>
|
||||
<result column="capital" jdbcType="DECIMAL" property="capital"/>
|
||||
<result column="category_type_code" jdbcType="VARCHAR" property="categoryTypeCode"/>
|
||||
<result column="category_type_name" jdbcType="VARCHAR" property="categoryTypeName"/>
|
||||
<result column="contacts_name" jdbcType="VARCHAR" property="contactsName"/>
|
||||
<result column="contacts_phone" jdbcType="VARCHAR" property="contactsPhone"/>
|
||||
<result column="contacts_type" jdbcType="VARCHAR" property="contactsType"/>
|
||||
<result column="contacts_email" jdbcType="VARCHAR" property="contactsEmail"/>
|
||||
<result column="telephone" jdbcType="VARCHAR" property="telephone"/>
|
||||
<result column="nation" jdbcType="VARCHAR" property="nation"/>
|
||||
<result column="vat" jdbcType="VARCHAR" property="vat"/>
|
||||
<result column="taxpayer_id" jdbcType="VARCHAR" property="taxpayerId"/>
|
||||
<result column="currency" jdbcType="VARCHAR" property="currency"/>
|
||||
<result column="commitment" jdbcType="VARCHAR" property="commitment"/>
|
||||
<result column="accessory" jdbcType="VARCHAR" property="accessory"/>
|
||||
<result column="person_name" jdbcType="VARCHAR" property="personName"/>
|
||||
<result column="person_phone" jdbcType="VARCHAR" property="personPhone"/>
|
||||
<result column="person_bank" jdbcType="VARCHAR" property="personBank"/>
|
||||
<result column="person_account" jdbcType="VARCHAR" property="personAccount"/>
|
||||
<result column="licence" jdbcType="VARCHAR" property="licence"/>
|
||||
<result column="status" jdbcType="INTEGER" property="status"/>
|
||||
<result column="approve_status" jdbcType="INTEGER" property="approveStatus"/>
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
||||
<result column="remark" jdbcType="VARCHAR" property="remark"/>
|
||||
<result column="in_blacklist" jdbcType="INTEGER" property="inBlacklist"/>
|
||||
<result column="first_login" jdbcType="INTEGER" property="firstLogin"/>
|
||||
<result column="exit" jdbcType="INTEGER" property="exit"/>
|
||||
<result column="agent" jdbcType="INTEGER" property="agent"/>
|
||||
<result column="sap_code" jdbcType="VARCHAR" property="sapCode"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplier_base where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierInvoiceMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoice">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="supplier_id" jdbcType="VARCHAR" property="supplierId"/>
|
||||
<result column="supplier_name" jdbcType="VARCHAR" property="supplierName"/>
|
||||
<result column="taxpayer_type" jdbcType="VARCHAR" property="taxpayerType"/>
|
||||
<result column="taxpayer_code" jdbcType="VARCHAR" property="taxpayerCode"/>
|
||||
<result column="phone" jdbcType="VARCHAR" property="phone"/>
|
||||
<result column="account" jdbcType="VARCHAR" property="account"/>
|
||||
<result column="head" jdbcType="VARCHAR" property="head"/>
|
||||
<result column="address" jdbcType="VARCHAR" property="address"/>
|
||||
<result column="bank" jdbcType="VARCHAR" property="bank"/>
|
||||
<result column="qualification_certificate" jdbcType="VARCHAR" property="qualificationCertificate"/>
|
||||
<result column="type" jdbcType="VARCHAR" property="type"/>
|
||||
<result column="status" jdbcType="INTEGER" property="status"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplier_invoice where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierQualificationsMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualifications">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="supplier_id" jdbcType="VARCHAR" property="supplierId"/>
|
||||
<result column="certificate_type" jdbcType="VARCHAR" property="certificateType"/>
|
||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||
<result column="code" jdbcType="VARCHAR" property="code"/>
|
||||
<result column="type_level" jdbcType="VARCHAR" property="typeLevel"/>
|
||||
<result column="authority" jdbcType="VARCHAR" property="authority"/>
|
||||
<result column="date_time" jdbcType="TIMESTAMP" property="dateTime"/>
|
||||
<result column="term_of_validity" jdbcType="TIMESTAMP" property="termOfValidity"/>
|
||||
<result column="accessory" jdbcType="VARCHAR" property="accessory"/>
|
||||
<result column="status" jdbcType="INTEGER" property="status"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplier_qualifications where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierSurveyMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurvey">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="supplier_id" jdbcType="VARCHAR" property="supplierId"/>
|
||||
<result column="supplier_name" jdbcType="VARCHAR" property="supplierName"/>
|
||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||
<result column="position" jdbcType="VARCHAR" property="position"/>
|
||||
<result column="phone" jdbcType="VARCHAR" property="phone"/>
|
||||
<result column="email" jdbcType="VARCHAR" property="email"/>
|
||||
<result column="dateTime" jdbcType="TIMESTAMP" property="datetime"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplier_survey where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierSurveyQuestionMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestion">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="question" jdbcType="VARCHAR" property="question"/>
|
||||
<result column="order_by" jdbcType="INTEGER" property="orderBy"/>
|
||||
<result column="supplier_survey_id" jdbcType="VARCHAR" property="supplierSurveyId"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplier_survey_question where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierexitMapper">
|
||||
<resultMap id="BaseResultMap"
|
||||
type="com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexit">
|
||||
<result column="id" jdbcType="BIGINT" property="id"/>
|
||||
<result column="exit_theme" jdbcType="VARCHAR" property="exitTheme"/>
|
||||
<result column="exit_reason" jdbcType="VARCHAR" property="exitReason"/>
|
||||
<result column="dept_id" jdbcType="VARCHAR" property="deptId"/>
|
||||
<result column="dept_name" jdbcType="VARCHAR" property="deptName"/>
|
||||
<result column="status" jdbcType="VARCHAR" property="status"/>
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
||||
</resultMap>
|
||||
|
||||
<!--逻辑删除方法 此方法为代码生成器生成 不允许修改 如有特殊需求 请自行新建SQL语句-->
|
||||
<delete id="physicalDelete" parameterType="java.lang.String">
|
||||
delete from cosco_supplierexit where id in(${ids})
|
||||
</delete>
|
||||
</mapper>
|
@ -1,314 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierRegister
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "biz_supplier_register", autoResultMap = true)
|
||||
public class BizSupplierRegister extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 身份类型 1境内企业/机构 2境外企业
|
||||
*/
|
||||
@ApiModelProperty(value = "身份类型 1境内企业/机构 2境外企业")
|
||||
private String identityType;
|
||||
|
||||
/**
|
||||
* 供应商分类 1中央企业 2地方国有企业 3民营企业 4中央部委 5地方政府 6事业单位 7个体工商户 8其他
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商分类 1中央企业 2地方国有企业 3民营企业 4中央部委 5地方政府 6事业单位 7个体工商户 8其他")
|
||||
private String supplierClassification;
|
||||
|
||||
/**
|
||||
* 营业执照附件
|
||||
*/
|
||||
@ApiModelProperty(value = "营业执照附件")
|
||||
private String businessLicenseUrl;
|
||||
|
||||
/**
|
||||
* 营业执照有效期
|
||||
*/
|
||||
@ApiModelProperty(value = "营业执照有效期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime businessLicenseValidity;
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String enterpriseName;
|
||||
|
||||
/**
|
||||
* 企业英文名
|
||||
*/
|
||||
@ApiModelProperty(value = "企业英文名")
|
||||
private String enterpriseEnglishName;
|
||||
|
||||
/**
|
||||
* 国家/地区(境外企业注册字段)
|
||||
*/
|
||||
@ApiModelProperty(value = "国家/地区(境外企业注册字段)")
|
||||
private String country;
|
||||
|
||||
/**
|
||||
* 增值税号VAT
|
||||
*/
|
||||
@ApiModelProperty(value = "增值税号VAT")
|
||||
private String vatNum;
|
||||
|
||||
/**
|
||||
* 境外纳税人 ID号
|
||||
*/
|
||||
@ApiModelProperty(value = "境外纳税人 ID号")
|
||||
private String overseasIdNumber;
|
||||
|
||||
/**
|
||||
* 统一社会信用代码
|
||||
*/
|
||||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
/**
|
||||
* 经营范围
|
||||
*/
|
||||
@ApiModelProperty(value = "经营范围 ")
|
||||
private String operateRange;
|
||||
|
||||
/**
|
||||
* 注册地址
|
||||
*/
|
||||
@ApiModelProperty(value = "注册地址")
|
||||
private String registeredAddress;
|
||||
|
||||
/**
|
||||
* 办公地址
|
||||
*/
|
||||
@ApiModelProperty(value = "办公地址")
|
||||
private String officeAddress;
|
||||
|
||||
/**
|
||||
* 母公司/出资人信息
|
||||
*/
|
||||
@ApiModelProperty(value = "母公司/出资人信息")
|
||||
private String investorInformation;
|
||||
|
||||
/**
|
||||
* 企业法定代表人/负责人
|
||||
*/
|
||||
@ApiModelProperty(value = "企业法定代表人/负责人")
|
||||
private String iegaRepresentative;
|
||||
|
||||
/**
|
||||
* 企业法定代表人/负责人 身份证号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业法定代表人/负责人 身份证号")
|
||||
private Integer idNum;
|
||||
|
||||
/**
|
||||
* 企业性质
|
||||
*/
|
||||
@ApiModelProperty(value = "企业性质")
|
||||
private String enterpriseNature;
|
||||
|
||||
/**
|
||||
* 注册资本/实收资本
|
||||
*/
|
||||
@ApiModelProperty(value = "注册资本/实收资本")
|
||||
private String registeredCapital;
|
||||
|
||||
/**
|
||||
* 币种 1USD 2EUR 3AUD 4CNY 5港币 6新币 7澳元 8其他
|
||||
*/
|
||||
@ApiModelProperty(value = "币种 1USD 2EUR 3AUD 4CNY 5港币 6新币 7澳元 8其他")
|
||||
private String currency;
|
||||
|
||||
/**
|
||||
* 供应商类型 1经销商 2代理商 3生产商 4服务商
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商类型 1经销商 2代理商 3生产商 4服务商")
|
||||
private Integer supplierType;
|
||||
|
||||
/**
|
||||
* 联系人姓名
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人姓名")
|
||||
private String contactName;
|
||||
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人手机")
|
||||
private String contactPhone;
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
@ApiModelProperty(value = "验证码")
|
||||
private String verificationCode;
|
||||
|
||||
/**
|
||||
* 联系人身份类别 1境内人士 2境外(非大陆人士)
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人身份类别 1境内人士 2境外(非大陆人士)")
|
||||
private Integer contactIdCategory;
|
||||
|
||||
/**
|
||||
* 境外人士身份证件号
|
||||
*/
|
||||
@ApiModelProperty(value = "境外人士身份证件号")
|
||||
private String overseasIdNum;
|
||||
|
||||
/**
|
||||
* 联系人邮箱
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人邮箱")
|
||||
private String contactEmail;
|
||||
|
||||
/**
|
||||
* 固定电话
|
||||
*/
|
||||
@ApiModelProperty(value = "固定电话")
|
||||
private String telephone;
|
||||
|
||||
/**
|
||||
* 纳税人类型
|
||||
*/
|
||||
@ApiModelProperty(value = "纳税人类型")
|
||||
private String taxpayerType;
|
||||
|
||||
/**
|
||||
* 纳税人识别号
|
||||
*/
|
||||
@ApiModelProperty(value = "纳税人识别号")
|
||||
private String taxpayerIdentificationNum;
|
||||
|
||||
/**
|
||||
* 开票电话
|
||||
*/
|
||||
@ApiModelProperty(value = "开票电话")
|
||||
private String invoicePhone;
|
||||
|
||||
/**
|
||||
* 开票户行账号
|
||||
*/
|
||||
@ApiModelProperty(value = "开票户行账号")
|
||||
private String invoiceBankAccount;
|
||||
|
||||
/**
|
||||
* 开票抬头
|
||||
*/
|
||||
@ApiModelProperty(value = "开票抬头")
|
||||
private String invoiceHeader;
|
||||
|
||||
/**
|
||||
* 开票地址
|
||||
*/
|
||||
@ApiModelProperty(value = "开票地址")
|
||||
private String invoiceAddress;
|
||||
|
||||
/**
|
||||
* 开票户行
|
||||
*/
|
||||
@ApiModelProperty(value = "开票户行")
|
||||
private String invoiceBank;
|
||||
|
||||
/**
|
||||
* 一般纳税人资格证明
|
||||
*/
|
||||
@ApiModelProperty(value = "一般纳税人资格证明")
|
||||
private String qualificationCertificate;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人信息 供应商名称
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人信息 供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 姓名
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人 姓名")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 职位
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人 职位")
|
||||
private String position;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 电话号
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人 电话号")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 邮箱
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人 邮箱")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 社会准则符合性自查问卷填写人 填写日期
|
||||
*/
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷填写人 填写日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime date;
|
||||
|
||||
/**
|
||||
* 供应商反商业贿赂承诺书 已加盖公司公章
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商反商业贿赂承诺书 已加盖公司公章")
|
||||
private String commitmentLetterUrl;
|
||||
|
||||
/**
|
||||
* 其他附件
|
||||
*/
|
||||
@ApiModelProperty(value = "其他附件")
|
||||
private String otherAttachmentUrl;
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime createDate;
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime updateDate;
|
||||
|
||||
|
||||
}
|
@ -12,23 +12,29 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierBank
|
||||
* 实体类 CoscoSupplierBank
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "biz_supplier_bank", autoResultMap = true)
|
||||
public class BizSupplierBank extends BaseEntity implements Serializable {
|
||||
@TableName(value = "cosco_supplier_bank", autoResultMap = true)
|
||||
public class CoscoSupplierBank extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
* 主键id
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private Long id;
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 供应商id cosco_supplier_base表主键
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商id cosco_supplier_base表主键")
|
||||
private String supplierId;
|
||||
|
||||
/**
|
||||
* 联行号
|
||||
@ -37,10 +43,17 @@ public class BizSupplierBank extends BaseEntity implements Serializable {
|
||||
private String interbankNumber;
|
||||
|
||||
/**
|
||||
* 开户银行
|
||||
*/
|
||||
* 开户银行
|
||||
*/
|
||||
@ApiModelProperty(value = "开户银行")
|
||||
private String bankDeposit;
|
||||
private String bank;
|
||||
|
||||
|
||||
/**
|
||||
* SWIFT CODE
|
||||
*/
|
||||
@ApiModelProperty(value = "SWIFT CODE")
|
||||
private String swiftCode;
|
||||
|
||||
/**
|
||||
* 账户名称
|
||||
@ -52,43 +65,38 @@ public class BizSupplierBank extends BaseEntity implements Serializable {
|
||||
* 账号
|
||||
*/
|
||||
@ApiModelProperty(value = "账号")
|
||||
private String accountNum;
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 币种
|
||||
*/
|
||||
@ApiModelProperty(value = "币种")
|
||||
private String currency;
|
||||
|
||||
|
||||
/**
|
||||
* 国家
|
||||
*/
|
||||
@ApiModelProperty(value = "国家")
|
||||
private String country;
|
||||
private String nation;
|
||||
|
||||
/**
|
||||
* 省
|
||||
* 省份
|
||||
*/
|
||||
@ApiModelProperty(value = "省")
|
||||
@ApiModelProperty(value = "省份")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
* 地市
|
||||
*/
|
||||
@ApiModelProperty(value = "市")
|
||||
@ApiModelProperty(value = "地市")
|
||||
private String city;
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
* 启用状态
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime createDate;
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime updateDate;
|
||||
@ApiModelProperty(value = "启用状态")
|
||||
private Integer status;
|
||||
|
||||
|
||||
}
|
@ -9,14 +9,14 @@ import lombok.experimental.Accessors;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierBank
|
||||
* 实体类 CoscoSupplierBank
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class BizSupplierBankVO extends BizSupplierBank implements Serializable {
|
||||
public class CoscoSupplierBankVO extends CoscoSupplierBank implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -0,0 +1,281 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierBase
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "cosco_supplier_base", autoResultMap = true)
|
||||
public class CoscoSupplierBase extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 身份类型
|
||||
*/
|
||||
@ApiModelProperty(value = "身份类型")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 供应商分类 -- 字典code
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商分类 -- 字典code")
|
||||
private String kindCode;
|
||||
|
||||
/**
|
||||
* 供应商分类 -- 字典名称
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商分类 -- 字典名称")
|
||||
private String kindName;
|
||||
|
||||
/**
|
||||
* 营业执照附件
|
||||
*/
|
||||
@ApiModelProperty(value = "营业执照附件")
|
||||
private String licenceAccessory;
|
||||
|
||||
/**
|
||||
* 营业执照有效期
|
||||
*/
|
||||
@ApiModelProperty(value = "营业执照有效期")
|
||||
private String licenceDate;
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 英文名称
|
||||
*/
|
||||
@ApiModelProperty(value = "英文名称")
|
||||
private String engName;
|
||||
|
||||
/**
|
||||
* 统一社会信用代码
|
||||
*/
|
||||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String socialCreditCode;
|
||||
|
||||
/**
|
||||
* 经营范围
|
||||
*/
|
||||
@ApiModelProperty(value = "经营范围")
|
||||
private String range;
|
||||
|
||||
/**
|
||||
* 注册地址
|
||||
*/
|
||||
@ApiModelProperty(value = "注册地址")
|
||||
private String regAddress;
|
||||
|
||||
/**
|
||||
* 办公地址
|
||||
*/
|
||||
@ApiModelProperty(value = "办公地址")
|
||||
private String workAddress;
|
||||
|
||||
/**
|
||||
* 母公司出资人信息
|
||||
*/
|
||||
@ApiModelProperty(value = "母公司出资人信息")
|
||||
private String parentCompanyInvestor;
|
||||
|
||||
/**
|
||||
* 企业法定代表人
|
||||
*/
|
||||
@ApiModelProperty(value = "企业法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
/**
|
||||
* 身份证
|
||||
*/
|
||||
@ApiModelProperty(value = "身份证")
|
||||
private String idCard;
|
||||
|
||||
/**
|
||||
* 企业性质
|
||||
*/
|
||||
@ApiModelProperty(value = "企业性质")
|
||||
private String nature;
|
||||
|
||||
/**
|
||||
* 注册资本
|
||||
*/
|
||||
@ApiModelProperty(value = "注册资本")
|
||||
private BigDecimal capital;
|
||||
|
||||
/**
|
||||
* 供应商类型 -- 字典
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商类型 -- 字典")
|
||||
private String categoryTypeCode;
|
||||
|
||||
/**
|
||||
* 供应商类型 --字典名称
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商类型 --字典名称")
|
||||
private String categoryTypeName;
|
||||
|
||||
/**
|
||||
* 联系人姓名
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人姓名")
|
||||
private String contactsName;
|
||||
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人手机")
|
||||
private String contactsPhone;
|
||||
|
||||
/**
|
||||
* 联系人身份类别
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人身份类别")
|
||||
private String contactsType;
|
||||
|
||||
/**
|
||||
* 联系人邮箱
|
||||
*/
|
||||
@ApiModelProperty(value = "联系人邮箱")
|
||||
private String contactsEmail;
|
||||
|
||||
/**
|
||||
* 固定电话
|
||||
*/
|
||||
@ApiModelProperty(value = "固定电话")
|
||||
private String telephone;
|
||||
|
||||
/**
|
||||
* 境外企业- 国家地区
|
||||
*/
|
||||
@ApiModelProperty(value = "境外企业- 国家地区")
|
||||
private String nation;
|
||||
|
||||
/**
|
||||
* 境外企业-增值税号VAT
|
||||
*/
|
||||
@ApiModelProperty(value = "境外企业-增值税号VAT")
|
||||
private String vat;
|
||||
|
||||
/**
|
||||
* 境外企业-境外纳税人ID号
|
||||
*/
|
||||
@ApiModelProperty(value = "境外企业-境外纳税人ID号")
|
||||
private String taxpayerId;
|
||||
|
||||
/**
|
||||
* 境外企业-币种
|
||||
*/
|
||||
@ApiModelProperty(value = "境外企业-币种")
|
||||
private String currency;
|
||||
|
||||
/**
|
||||
* 供应商反商业贿赂承诺书
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商反商业贿赂承诺书")
|
||||
private String commitment;
|
||||
|
||||
/**
|
||||
* 其他附件
|
||||
*/
|
||||
@ApiModelProperty(value = "其他附件")
|
||||
private String accessory;
|
||||
|
||||
/**
|
||||
* 姓名-- 个人
|
||||
*/
|
||||
@ApiModelProperty(value = "姓名-- 个人")
|
||||
private String personName;
|
||||
|
||||
/**
|
||||
* 联系电话-- 个人
|
||||
*/
|
||||
@ApiModelProperty(value = "联系电话-- 个人")
|
||||
private String personPhone;
|
||||
|
||||
/**
|
||||
* 开户行-- 个人
|
||||
*/
|
||||
@ApiModelProperty(value = "开户行-- 个人")
|
||||
private String personBank;
|
||||
|
||||
/**
|
||||
* 银行账号-- 个人
|
||||
*/
|
||||
@ApiModelProperty(value = "银行账号-- 个人")
|
||||
private String personAccount;
|
||||
|
||||
/**
|
||||
* 相关证照文件id
|
||||
*/
|
||||
@ApiModelProperty(value = "相关证照文件id")
|
||||
private String licence;
|
||||
|
||||
/**
|
||||
* 供应商状态 是否合格
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商状态 是否合格")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 审批状态
|
||||
*/
|
||||
@ApiModelProperty(value = "审批状态")
|
||||
private Integer approveStatus;
|
||||
|
||||
/**
|
||||
* 是否在黑名单
|
||||
*/
|
||||
@ApiModelProperty(value = "是否在黑名单")
|
||||
private Integer inBlacklist;
|
||||
|
||||
/**
|
||||
* 是否第一次登录
|
||||
*/
|
||||
@ApiModelProperty(value = "是否第一次登录")
|
||||
private Integer firstLogin;
|
||||
|
||||
/**
|
||||
* 是否是-退出供应商
|
||||
*/
|
||||
@ApiModelProperty(value = "是否是-退出供应商")
|
||||
private Integer exit;
|
||||
|
||||
/**
|
||||
* 是否是代理商
|
||||
*/
|
||||
@ApiModelProperty(value = "是否是代理商")
|
||||
private Integer agent;
|
||||
|
||||
/**
|
||||
* sap_code 约束付款编码
|
||||
*/
|
||||
@ApiModelProperty(value = "sap_code 约束付款编码")
|
||||
private String sapCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,167 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierBase
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class CoscoSupplierBaseVO extends CoscoSupplierBase implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "分页对象信息")
|
||||
private BasePageRequest basePageRequest;
|
||||
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "身份类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "供应商分类 -- 字典code")
|
||||
private String kindCode;
|
||||
|
||||
@ApiModelProperty(value = "供应商分类 -- 字典名称")
|
||||
private String kindName;
|
||||
|
||||
@ApiModelProperty(value = "营业执照附件")
|
||||
private String licenceAccessory;
|
||||
|
||||
@ApiModelProperty(value = "营业执照有效期")
|
||||
private String licenceDate;
|
||||
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "英文名称")
|
||||
private String engName;
|
||||
|
||||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String socialCreditCode;
|
||||
|
||||
@ApiModelProperty(value = "经营范围")
|
||||
private String range;
|
||||
|
||||
@ApiModelProperty(value = "注册地址")
|
||||
private String regAddress;
|
||||
|
||||
@ApiModelProperty(value = "办公地址")
|
||||
private String workAddress;
|
||||
|
||||
@ApiModelProperty(value = "母公司出资人信息")
|
||||
private String parentCompanyInvestor;
|
||||
|
||||
@ApiModelProperty(value = "企业法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
@ApiModelProperty(value = "身份证")
|
||||
private String idCard;
|
||||
|
||||
@ApiModelProperty(value = "企业性质")
|
||||
private String nature;
|
||||
|
||||
@ApiModelProperty(value = "注册资本")
|
||||
private BigDecimal capital;
|
||||
|
||||
@ApiModelProperty(value = "供应商类型 -- 字典")
|
||||
private String categoryTypeCode;
|
||||
|
||||
@ApiModelProperty(value = "供应商类型 --字典名称")
|
||||
private String categoryTypeName;
|
||||
|
||||
@ApiModelProperty(value = "联系人姓名")
|
||||
private String contactsName;
|
||||
|
||||
@ApiModelProperty(value = "联系人手机")
|
||||
private String contactsPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人身份类别")
|
||||
private String contactsType;
|
||||
|
||||
@ApiModelProperty(value = "联系人邮箱")
|
||||
private String contactsEmail;
|
||||
|
||||
@ApiModelProperty(value = "固定电话")
|
||||
private String telephone;
|
||||
|
||||
@ApiModelProperty(value = "境外企业- 国家地区")
|
||||
private String nation;
|
||||
|
||||
@ApiModelProperty(value = "境外企业-增值税号VAT")
|
||||
private String vat;
|
||||
|
||||
@ApiModelProperty(value = "境外企业-境外纳税人ID号")
|
||||
private String taxpayerId;
|
||||
|
||||
@ApiModelProperty(value = "境外企业-币种")
|
||||
private String currency;
|
||||
|
||||
@ApiModelProperty(value = "供应商反商业贿赂承诺书")
|
||||
private String commitment;
|
||||
|
||||
@ApiModelProperty(value = "其他附件")
|
||||
private String accessory;
|
||||
|
||||
@ApiModelProperty(value = "姓名-- 个人")
|
||||
private String personName;
|
||||
|
||||
@ApiModelProperty(value = "联系电话-- 个人")
|
||||
private String personPhone;
|
||||
|
||||
@ApiModelProperty(value = "开户行-- 个人")
|
||||
private String personBank;
|
||||
|
||||
@ApiModelProperty(value = "银行账号-- 个人")
|
||||
private String personAccount;
|
||||
|
||||
@ApiModelProperty(value = "相关证照文件id")
|
||||
private String licence;
|
||||
|
||||
@ApiModelProperty(value = "供应商状态 是否合格")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "审批状态")
|
||||
private Integer approveStatus;
|
||||
|
||||
@ApiModelProperty(value = "是否在黑名单")
|
||||
private Integer inBlacklist;
|
||||
|
||||
@ApiModelProperty(value = "是否第一次登录")
|
||||
private Integer firstLogin;
|
||||
|
||||
@ApiModelProperty(value = "是否是-退出供应商")
|
||||
private Integer exit;
|
||||
|
||||
@ApiModelProperty(value = "是否是代理商")
|
||||
private Integer agent;
|
||||
|
||||
@ApiModelProperty(value = "sap_code 约束付款编码")
|
||||
private String sapCode;
|
||||
|
||||
@ApiModelProperty(value = "资质信息对象列表")
|
||||
private List<CoscoSupplierQualifications> qualifications;
|
||||
|
||||
@ApiModelProperty(value = "开票信息对象")
|
||||
private CoscoSupplierInvoice invoiceInformation;
|
||||
|
||||
@ApiModelProperty(value = "银行账户信息列表")
|
||||
private List<CoscoSupplierBank> bankAccounts;
|
||||
|
||||
@ApiModelProperty(value = "社会准则符合性自查问卷对象")
|
||||
private CoscoSupplierSurvey questionnaire;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierInvoice
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "cosco_supplier_invoice", autoResultMap = true)
|
||||
public class CoscoSupplierInvoice extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 供应商id
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商id")
|
||||
private String supplierId;
|
||||
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/**
|
||||
* 纳税人类型
|
||||
*/
|
||||
@ApiModelProperty(value = "纳税人类型")
|
||||
private String taxpayerType;
|
||||
|
||||
/**
|
||||
* 纳税人识别号
|
||||
*/
|
||||
@ApiModelProperty(value = "纳税人识别号")
|
||||
private String taxpayerCode;
|
||||
|
||||
/**
|
||||
* 开票电话
|
||||
*/
|
||||
@ApiModelProperty(value = "开票电话")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 开票户行账号
|
||||
*/
|
||||
@ApiModelProperty(value = "开票户行账号")
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 开票抬头
|
||||
*/
|
||||
@ApiModelProperty(value = "开票抬头")
|
||||
private String head;
|
||||
|
||||
/**
|
||||
* 开票地址
|
||||
*/
|
||||
@ApiModelProperty(value = "开票地址")
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 开票户行
|
||||
*/
|
||||
@ApiModelProperty(value = "开票户行")
|
||||
private String bank;
|
||||
|
||||
/**
|
||||
* 一般纳税人资格证明
|
||||
*/
|
||||
@ApiModelProperty(value = "一般纳税人资格证明")
|
||||
private String qualificationCertificate;
|
||||
|
||||
/**
|
||||
* 身份类型--境外企业没有此项目
|
||||
*/
|
||||
@ApiModelProperty(value = "身份类型--境外企业没有此项目")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
@ApiModelProperty(value = "启用状态")
|
||||
private Integer status;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierInvoice
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class CoscoSupplierInvoiceVO extends CoscoSupplierInvoice implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "分页对象信息")
|
||||
private BasePageRequest basePageRequest;
|
||||
|
||||
}
|
@ -12,59 +12,59 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierAptitude
|
||||
* 实体类 CoscoSupplierQualifications
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "biz_supplier_aptitude", autoResultMap = true)
|
||||
public class BizSupplierAptitude extends BaseEntity implements Serializable {
|
||||
@TableName(value = "cosco_supplier_qualifications", autoResultMap = true)
|
||||
public class CoscoSupplierQualifications extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
* 资质信息
|
||||
*/
|
||||
@ApiModelProperty(value = "主键")
|
||||
private Long id;
|
||||
@ApiModelProperty(value = "资质信息")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 供应商注册表id
|
||||
* 供应商id cosco_supplier_base表主键
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商注册表id")
|
||||
private Long supplierRegisterId;
|
||||
@ApiModelProperty(value = "供应商id cosco_supplier_base表主键")
|
||||
private String supplierId;
|
||||
|
||||
/**
|
||||
* 资质证书类型
|
||||
*/
|
||||
@ApiModelProperty(value = "资质证书类型")
|
||||
private String aptitudeCertificateType;
|
||||
private String certificateType;
|
||||
|
||||
/**
|
||||
* 资质名称
|
||||
*/
|
||||
@ApiModelProperty(value = "资质名称")
|
||||
private String apittudeName;
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 资质证书编号
|
||||
*/
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String aptitudeCertificateNum;
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 资质类别和等级
|
||||
*/
|
||||
@ApiModelProperty(value = "资质类别和等级")
|
||||
private String aptitudeCategoryLevel;
|
||||
private String typeLevel;
|
||||
|
||||
/**
|
||||
* 发证机构
|
||||
*/
|
||||
@ApiModelProperty(value = "发证机构")
|
||||
private String issueAuthority;
|
||||
private String authority;
|
||||
|
||||
/**
|
||||
* 发证日期
|
||||
@ -72,7 +72,7 @@ public class BizSupplierAptitude extends BaseEntity implements Serializable {
|
||||
@ApiModelProperty(value = "发证日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime issueDate;
|
||||
private java.time.LocalDateTime dateTime;
|
||||
|
||||
/**
|
||||
* 资质有效期至
|
||||
@ -80,31 +80,19 @@ public class BizSupplierAptitude extends BaseEntity implements Serializable {
|
||||
@ApiModelProperty(value = "资质有效期至")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime aptitudePeriodValidity;
|
||||
private java.time.LocalDateTime termOfValidity;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String attachment;
|
||||
|
||||
private String accessory;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
* 启用状态
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime createDate;
|
||||
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime updateDate;
|
||||
@ApiModelProperty(value = "启用状态")
|
||||
private Integer status;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierQualifications
|
||||
*
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class CoscoSupplierQualificationsVO extends CoscoSupplierQualifications implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "分页对象信息")
|
||||
private BasePageRequest basePageRequest;
|
||||
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierSurvey
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "cosco_supplier_survey", autoResultMap = true)
|
||||
public class CoscoSupplierSurvey extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 供应商id
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商id")
|
||||
private String supplierId;
|
||||
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@ApiModelProperty(value = "姓名")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 职位
|
||||
*/
|
||||
@ApiModelProperty(value = "职位")
|
||||
private String position;
|
||||
|
||||
/**
|
||||
* 电话号
|
||||
*/
|
||||
@ApiModelProperty(value = "电话号")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
@ApiModelProperty(value = "邮箱")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
@ApiModelProperty(value = "日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.time.LocalDateTime datetime;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierSurveyQuestion
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "cosco_supplier_survey_question", autoResultMap = true)
|
||||
public class CoscoSupplierSurveyQuestion extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 问题
|
||||
*/
|
||||
@ApiModelProperty(value = "问题")
|
||||
private String question;
|
||||
|
||||
/**
|
||||
* 回复
|
||||
*/
|
||||
@ApiModelProperty(value = "回复")
|
||||
private String reply;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer orderBy;
|
||||
|
||||
/**
|
||||
* 供应商注册问卷id
|
||||
*/
|
||||
@ApiModelProperty(value = "供应商注册问卷id")
|
||||
private String supplierSurveyId;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierSurveyQuestion
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class CoscoSupplierSurveyQuestionVO extends CoscoSupplierSurveyQuestion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "分页对象信息")
|
||||
private BasePageRequest basePageRequest;
|
||||
|
||||
}
|
@ -9,14 +9,14 @@ import lombok.experimental.Accessors;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierAptitude
|
||||
* 实体类 CoscoSupplierSurvey
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class BizSupplierAptitudeVO extends BizSupplierAptitude implements Serializable {
|
||||
public class CoscoSupplierSurveyVO extends CoscoSupplierSurvey implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -0,0 +1,68 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 CoscoSupplierexit
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
@TableName(value = "cosco_supplierexit", autoResultMap = true)
|
||||
public class CoscoSupplierexit extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 退出主题
|
||||
*/
|
||||
@ApiModelProperty(value = "退出主题")
|
||||
private String exitTheme;
|
||||
|
||||
/**
|
||||
* 退出原因
|
||||
*/
|
||||
@ApiModelProperty(value = "退出原因")
|
||||
private String exitReason;
|
||||
|
||||
/**
|
||||
* 发起单位id
|
||||
*/
|
||||
@ApiModelProperty(value = "发起单位id")
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 发起单位名称
|
||||
*/
|
||||
@ApiModelProperty(value = "发起单位名称")
|
||||
private String deptName;
|
||||
|
||||
/**
|
||||
* 审批状态 0待审批 1审批中 2审批结束
|
||||
*/
|
||||
@ApiModelProperty(value = "审批状态 0待审批 1审批中 2审批结束")
|
||||
private String status;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -9,14 +9,14 @@ import lombok.experimental.Accessors;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 实体类 BizSupplierRegister
|
||||
* 实体类 CoscoSupplierexit
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel
|
||||
public class BizSupplierRegisterVO extends BizSupplierRegister implements Serializable {
|
||||
public class CoscoSupplierexitVO extends CoscoSupplierexit implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -3,22 +3,22 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegister;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegisterVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBankVO;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_register 操作的 service
|
||||
* 对数据表 cosco_supplier_bank 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface IBizSupplierRegisterService extends IBaseService<BizSupplierRegister> {
|
||||
public interface ICoscoSupplierBankService extends IBaseService<CoscoSupplierBank> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param bizSupplierRegisterVO 分页数据
|
||||
* @param coscoSupplierBankVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<BizSupplierRegisterVO> getPage(BizSupplierRegisterVO bizSupplierRegisterVO);
|
||||
IPage<CoscoSupplierBankVO> getPage(CoscoSupplierBankVO coscoSupplierBankVO);
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBase;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBaseVO;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_base 操作的 service
|
||||
*
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface ICoscoSupplierBaseService extends IBaseService<CoscoSupplierBase> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param coscoSupplierBaseVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<CoscoSupplierBaseVO> getPage(CoscoSupplierBaseVO coscoSupplierBaseVO);
|
||||
|
||||
Boolean saveRegister(CoscoSupplierBaseVO coscoSupplierBaseVO);
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoice;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoiceVO;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_invoice 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface ICoscoSupplierInvoiceService extends IBaseService<CoscoSupplierInvoice> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param coscoSupplierInvoiceVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<CoscoSupplierInvoiceVO> getPage(CoscoSupplierInvoiceVO coscoSupplierInvoiceVO);
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualifications;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualificationsVO;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_qualifications 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface ICoscoSupplierQualificationsService extends IBaseService<CoscoSupplierQualifications> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param coscoSupplierQualificationsVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<CoscoSupplierQualificationsVO> getPage(CoscoSupplierQualificationsVO coscoSupplierQualificationsVO);
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestion;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestionVO;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_survey_question 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface ICoscoSupplierSurveyQuestionService extends IBaseService<CoscoSupplierSurveyQuestion> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param coscoSupplierSurveyQuestionVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<CoscoSupplierSurveyQuestionVO> getPage(CoscoSupplierSurveyQuestionVO coscoSupplierSurveyQuestionVO);
|
||||
|
||||
}
|
@ -3,23 +3,22 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitude;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitudeVO;
|
||||
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurvey;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyVO;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_aptitude 操作的 service
|
||||
* 对数据表 cosco_supplier_survey 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface IBizSupplierAptitudeService extends IBaseService<BizSupplierAptitude> {
|
||||
public interface ICoscoSupplierSurveyService extends IBaseService<CoscoSupplierSurvey> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param bizSupplierAptitudeVO 分页数据
|
||||
* @param coscoSupplierSurveyVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<BizSupplierAptitudeVO> getPage(BizSupplierAptitudeVO bizSupplierAptitudeVO);
|
||||
IPage<CoscoSupplierSurveyVO> getPage(CoscoSupplierSurveyVO coscoSupplierSurveyVO);
|
||||
|
||||
}
|
@ -3,22 +3,22 @@ package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.IBaseService;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBankVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexit;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexitVO;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_bank 操作的 service
|
||||
* 对数据表 cosco_supplierexit 操作的 service
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
public interface IBizSupplierBankService extends IBaseService<BizSupplierBank> {
|
||||
public interface ICoscoSupplierexitService extends IBaseService<CoscoSupplierexit> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param bizSupplierBankVO 分页数据
|
||||
* @param coscoSupplierexitVO 分页数据
|
||||
* @return 返回结果
|
||||
*/
|
||||
IPage<BizSupplierBankVO> getPage(BizSupplierBankVO bizSupplierBankVO);
|
||||
IPage<CoscoSupplierexitVO> getPage(CoscoSupplierexitVO coscoSupplierexitVO);
|
||||
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierAptitudeMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitude;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierAptitudeVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierAptitudeService;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_aptitude 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
*/
|
||||
@Service
|
||||
public class BizSupplierAptitudeServiceImpl extends BaseServiceImpl<BizSupplierAptitudeMapper, BizSupplierAptitude> implements IBizSupplierAptitudeService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param bizSupplierAptitudeVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<BizSupplierAptitude> getBizSupplierAptitudeQueryWrapper(BizSupplierAptitudeVO bizSupplierAptitudeVO) {
|
||||
LambdaQueryWrapper<BizSupplierAptitude> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<BizSupplierAptitudeVO> getPage(BizSupplierAptitudeVO bizSupplierAptitudeVO) {
|
||||
LambdaQueryWrapper<BizSupplierAptitude> queryWrapper = getBizSupplierAptitudeQueryWrapper(bizSupplierAptitudeVO);
|
||||
queryWrapper.orderByDesc(BizSupplierAptitude::getId);
|
||||
|
||||
if (null == bizSupplierAptitudeVO.getBasePageRequest()) {
|
||||
bizSupplierAptitudeVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<BizSupplierAptitude> p = new Page<>(bizSupplierAptitudeVO.getBasePageRequest().getPageNo(), bizSupplierAptitudeVO.getBasePageRequest().getPageSize());
|
||||
IPage<BizSupplierAptitude> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, BizSupplierAptitudeVO.class));
|
||||
}
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierBankMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierBankVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierBankService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_bank 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-4-30
|
||||
*/
|
||||
@Service
|
||||
public class BizSupplierBankServiceImpl extends BaseServiceImpl<BizSupplierBankMapper, BizSupplierBank> implements IBizSupplierBankService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param bizSupplierBankVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<BizSupplierBank> getBizSupplierBankQueryWrapper(BizSupplierBankVO bizSupplierBankVO) {
|
||||
LambdaQueryWrapper<BizSupplierBank> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<BizSupplierBankVO> getPage(BizSupplierBankVO bizSupplierBankVO) {
|
||||
LambdaQueryWrapper<BizSupplierBank> queryWrapper = getBizSupplierBankQueryWrapper(bizSupplierBankVO);
|
||||
queryWrapper.orderByDesc(BizSupplierBank::getId);
|
||||
|
||||
if (null == bizSupplierBankVO.getBasePageRequest()) {
|
||||
bizSupplierBankVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<BizSupplierBank> p = new Page<>(bizSupplierBankVO.getBasePageRequest().getPageNo(), bizSupplierBankVO.getBasePageRequest().getPageSize());
|
||||
IPage<BizSupplierBank> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, BizSupplierBankVO.class));
|
||||
}
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.BizSupplierRegisterMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegister;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.BizSupplierRegisterVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.IBizSupplierRegisterService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 biz_supplier_register 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-4-29
|
||||
*/
|
||||
@Service
|
||||
public class BizSupplierRegisterServiceImpl extends BaseServiceImpl<BizSupplierRegisterMapper,BizSupplierRegister> implements IBizSupplierRegisterService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param bizSupplierRegisterVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<BizSupplierRegister> getBizSupplierRegisterQueryWrapper(BizSupplierRegisterVO bizSupplierRegisterVO) {
|
||||
LambdaQueryWrapper<BizSupplierRegister> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<BizSupplierRegisterVO> getPage(BizSupplierRegisterVO bizSupplierRegisterVO) {
|
||||
LambdaQueryWrapper<BizSupplierRegister> queryWrapper = getBizSupplierRegisterQueryWrapper(bizSupplierRegisterVO);
|
||||
queryWrapper.orderByDesc(BizSupplierRegister::getId);
|
||||
|
||||
if (null == bizSupplierRegisterVO.getBasePageRequest()) {
|
||||
bizSupplierRegisterVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<BizSupplierRegister> p = new Page<>(bizSupplierRegisterVO.getBasePageRequest().getPageNo(), bizSupplierRegisterVO.getBasePageRequest().getPageSize());
|
||||
IPage<BizSupplierRegister> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, BizSupplierRegisterVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierBankMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBank;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierBankVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierBankService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_bank 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierBankServiceImpl extends BaseServiceImpl<CoscoSupplierBankMapper, CoscoSupplierBank> implements ICoscoSupplierBankService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierBankVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierBank> getCoscoSupplierBankQueryWrapper(CoscoSupplierBankVO coscoSupplierBankVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierBank> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierBankVO> getPage(CoscoSupplierBankVO coscoSupplierBankVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierBank> queryWrapper = getCoscoSupplierBankQueryWrapper(coscoSupplierBankVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierBank::getId);
|
||||
|
||||
if (null == coscoSupplierBankVO.getBasePageRequest()) {
|
||||
coscoSupplierBankVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierBank> p = new Page<>(coscoSupplierBankVO.getBasePageRequest().getPageNo(), coscoSupplierBankVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierBank> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierBankVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.*;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.*;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierBaseService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_base 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierBaseServiceImpl extends BaseServiceImpl<CoscoSupplierBaseMapper, CoscoSupplierBase> implements ICoscoSupplierBaseService {
|
||||
|
||||
@Resource
|
||||
private CoscoSupplierQualificationsMapper coscoSupplierQualificationsMapper;
|
||||
@Resource
|
||||
private CoscoSupplierBankMapper coscoSupplierBankMapper;
|
||||
@Resource
|
||||
private CoscoSupplierInvoiceMapper coscoSupplierInvoiceMapper;
|
||||
@Resource
|
||||
private CoscoSupplierSurveyMapper coscoSupplierSurveyMapper;
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierBaseVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierBase> getCoscoSupplierBaseQueryWrapper(CoscoSupplierBaseVO coscoSupplierBaseVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierBase> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierBaseVO> getPage(CoscoSupplierBaseVO coscoSupplierBaseVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierBase> queryWrapper = getCoscoSupplierBaseQueryWrapper(coscoSupplierBaseVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierBase::getId);
|
||||
|
||||
if (null == coscoSupplierBaseVO.getBasePageRequest()) {
|
||||
coscoSupplierBaseVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierBase> p = new Page<>(coscoSupplierBaseVO.getBasePageRequest().getPageNo(), coscoSupplierBaseVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierBase> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierBaseVO.class));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean saveRegister(CoscoSupplierBaseVO coscoSupplierBaseVO) {
|
||||
//todo 校验验证码
|
||||
|
||||
//供应商基础信息新增
|
||||
CoscoSupplierBase coscoSupplierBase = new CoscoSupplierBase();
|
||||
BeanUtil.copyProperties(coscoSupplierBase,coscoSupplierBaseVO);
|
||||
baseMapper.insert(coscoSupplierBase);
|
||||
//供应商资质信息新增
|
||||
List<CoscoSupplierQualifications> qualifications = coscoSupplierBaseVO.getQualifications();
|
||||
for (CoscoSupplierQualifications qualification : qualifications) {
|
||||
CoscoSupplierQualifications coscoSupplierQualifications = new CoscoSupplierQualifications();
|
||||
BeanUtil.copyProperties(coscoSupplierQualifications,qualification);
|
||||
coscoSupplierQualificationsMapper.insert(coscoSupplierQualifications);
|
||||
}
|
||||
//供应商银行账户信息新增
|
||||
List<CoscoSupplierBank> bankAccounts = coscoSupplierBaseVO.getBankAccounts();
|
||||
for (CoscoSupplierBank bankAccount : bankAccounts) {
|
||||
CoscoSupplierBank coscoSupplierBank = new CoscoSupplierBank();
|
||||
BeanUtil.copyProperties(coscoSupplierBank,bankAccount);
|
||||
coscoSupplierBankMapper.insert(coscoSupplierBank);
|
||||
}
|
||||
//供应商开票信息新增
|
||||
CoscoSupplierInvoice invoiceInformation = coscoSupplierBaseVO.getInvoiceInformation();
|
||||
if (Objects.nonNull(invoiceInformation)) {
|
||||
CoscoSupplierInvoice coscoSupplierInvoice = new CoscoSupplierInvoice();
|
||||
BeanUtil.copyProperties(coscoSupplierInvoice,invoiceInformation);
|
||||
coscoSupplierInvoiceMapper.insert(coscoSupplierInvoice);
|
||||
}
|
||||
// 供应商 社会准则符合性自查问卷 新增
|
||||
CoscoSupplierSurvey questionnaire = coscoSupplierBaseVO.getQuestionnaire();
|
||||
coscoSupplierSurveyMapper.insert(questionnaire);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierInvoiceMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoice;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierInvoiceVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierInvoiceService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_invoice 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierInvoiceServiceImpl extends BaseServiceImpl<CoscoSupplierInvoiceMapper, CoscoSupplierInvoice> implements ICoscoSupplierInvoiceService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierInvoiceVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierInvoice> getCoscoSupplierInvoiceQueryWrapper(CoscoSupplierInvoiceVO coscoSupplierInvoiceVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierInvoice> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierInvoiceVO> getPage(CoscoSupplierInvoiceVO coscoSupplierInvoiceVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierInvoice> queryWrapper = getCoscoSupplierInvoiceQueryWrapper(coscoSupplierInvoiceVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierInvoice::getId);
|
||||
|
||||
if (null == coscoSupplierInvoiceVO.getBasePageRequest()) {
|
||||
coscoSupplierInvoiceVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierInvoice> p = new Page<>(coscoSupplierInvoiceVO.getBasePageRequest().getPageNo(), coscoSupplierInvoiceVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierInvoice> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierInvoiceVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierQualificationsMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualifications;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierQualificationsVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierQualificationsService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_qualifications 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierQualificationsServiceImpl extends BaseServiceImpl<CoscoSupplierQualificationsMapper, CoscoSupplierQualifications> implements ICoscoSupplierQualificationsService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierQualificationsVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierQualifications> getCoscoSupplierQualificationsQueryWrapper(CoscoSupplierQualificationsVO coscoSupplierQualificationsVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierQualifications> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierQualificationsVO> getPage(CoscoSupplierQualificationsVO coscoSupplierQualificationsVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierQualifications> queryWrapper = getCoscoSupplierQualificationsQueryWrapper(coscoSupplierQualificationsVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierQualifications::getId);
|
||||
|
||||
if (null == coscoSupplierQualificationsVO.getBasePageRequest()) {
|
||||
coscoSupplierQualificationsVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierQualifications> p = new Page<>(coscoSupplierQualificationsVO.getBasePageRequest().getPageNo(), coscoSupplierQualificationsVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierQualifications> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierQualificationsVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierSurveyQuestionMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestion;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyQuestionVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierSurveyQuestionService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_survey_question 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierSurveyQuestionServiceImpl extends BaseServiceImpl<CoscoSupplierSurveyQuestionMapper, CoscoSupplierSurveyQuestion> implements ICoscoSupplierSurveyQuestionService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierSurveyQuestionVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierSurveyQuestion> getCoscoSupplierSurveyQuestionQueryWrapper(CoscoSupplierSurveyQuestionVO coscoSupplierSurveyQuestionVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierSurveyQuestion> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierSurveyQuestionVO> getPage(CoscoSupplierSurveyQuestionVO coscoSupplierSurveyQuestionVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierSurveyQuestion> queryWrapper = getCoscoSupplierSurveyQuestionQueryWrapper(coscoSupplierSurveyQuestionVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierSurveyQuestion::getId);
|
||||
|
||||
if (null == coscoSupplierSurveyQuestionVO.getBasePageRequest()) {
|
||||
coscoSupplierSurveyQuestionVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierSurveyQuestion> p = new Page<>(coscoSupplierSurveyQuestionVO.getBasePageRequest().getPageNo(), coscoSupplierSurveyQuestionVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierSurveyQuestion> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierSurveyQuestionVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierSurveyMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurvey;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierSurveyVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierSurveyService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplier_survey 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierSurveyServiceImpl extends BaseServiceImpl<CoscoSupplierSurveyMapper, CoscoSupplierSurvey> implements ICoscoSupplierSurveyService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierSurveyVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierSurvey> getCoscoSupplierSurveyQueryWrapper(CoscoSupplierSurveyVO coscoSupplierSurveyVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierSurvey> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierSurveyVO> getPage(CoscoSupplierSurveyVO coscoSupplierSurveyVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierSurvey> queryWrapper = getCoscoSupplierSurveyQueryWrapper(coscoSupplierSurveyVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierSurvey::getId);
|
||||
|
||||
if (null == coscoSupplierSurveyVO.getBasePageRequest()) {
|
||||
coscoSupplierSurveyVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierSurvey> p = new Page<>(coscoSupplierSurveyVO.getBasePageRequest().getPageNo(), coscoSupplierSurveyVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierSurvey> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierSurveyVO.class));
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.impl;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import com.chinaunicom.mall.ebtp.common.base.service.impl.BaseServiceImpl;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.dao.CoscoSupplierexitMapper;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexit;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.entity.CoscoSupplierexitVO;
|
||||
import com.chinaunicom.zyhy.ebtp.supplier.bizsupplierregister.service.ICoscoSupplierexitService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 对数据表 cosco_supplierexit 操作的 serviceImpl
|
||||
* @author sunyu
|
||||
* @date 2025-5-20
|
||||
*/
|
||||
@Service
|
||||
public class CoscoSupplierexitServiceImpl extends BaseServiceImpl<CoscoSupplierexitMapper, CoscoSupplierexit> implements ICoscoSupplierexitService {
|
||||
|
||||
/**
|
||||
* 生成查询数据
|
||||
*
|
||||
* @param coscoSupplierexitVO 查询条件
|
||||
* @return 返回结果
|
||||
*/
|
||||
|
||||
private LambdaQueryWrapper<CoscoSupplierexit> getCoscoSupplierexitQueryWrapper(CoscoSupplierexitVO coscoSupplierexitVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierexit> queryWrapper = Wrappers.lambdaQuery();
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<CoscoSupplierexitVO> getPage(CoscoSupplierexitVO coscoSupplierexitVO) {
|
||||
LambdaQueryWrapper<CoscoSupplierexit> queryWrapper = getCoscoSupplierexitQueryWrapper(coscoSupplierexitVO);
|
||||
queryWrapper.orderByDesc(CoscoSupplierexit::getId);
|
||||
|
||||
if (null == coscoSupplierexitVO.getBasePageRequest()) {
|
||||
coscoSupplierexitVO.setBasePageRequest(new BasePageRequest());
|
||||
}
|
||||
|
||||
//查询
|
||||
IPage<CoscoSupplierexit> p = new Page<>(coscoSupplierexitVO.getBasePageRequest().getPageNo(), coscoSupplierexitVO.getBasePageRequest().getPageSize());
|
||||
IPage<CoscoSupplierexit> result = this.page(p, queryWrapper);
|
||||
|
||||
return result.convert(c -> BeanUtil.toBean(c, CoscoSupplierexitVO.class));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user