Commit be9f8c095bd63e973da0eb940994fea93a8d5d9f

Authored by 房远帅
2 parents f1b54e14 8e06c47c

Merge branch 'master_after20' into master_cj_zq

@@ -80,7 +80,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit` @@ -80,7 +80,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit`
80 `company_id` varchar(32) DEFAULT NULL COMMENT '单位名称', 80 `company_id` varchar(32) DEFAULT NULL COMMENT '单位名称',
81 `company_nature` varchar(100) DEFAULT NULL COMMENT '企业性质', 81 `company_nature` varchar(100) DEFAULT NULL COMMENT '企业性质',
82 `company_address` varchar(100) DEFAULT NULL COMMENT '单位地址', 82 `company_address` varchar(100) DEFAULT NULL COMMENT '单位地址',
83 - `registered_capital` double DEFAULT NULL COMMENT '注册资本(单位:万元)', 83 + `registered_capital` varchar(50) DEFAULT NULL COMMENT '注册资本',
84 `bank_account` varchar(50) DEFAULT NULL COMMENT '账号', 84 `bank_account` varchar(50) DEFAULT NULL COMMENT '账号',
85 `bank_name` varchar(100) DEFAULT NULL COMMENT '开户行', 85 `bank_name` varchar(100) DEFAULT NULL COMMENT '开户行',
86 `tax_number` varchar(50) DEFAULT NULL COMMENT '税号', 86 `tax_number` varchar(50) DEFAULT NULL COMMENT '税号',
@@ -90,7 +90,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit` @@ -90,7 +90,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit`
90 `business_property` varchar(50) DEFAULT NULL COMMENT '经营场地属性', 90 `business_property` varchar(50) DEFAULT NULL COMMENT '经营场地属性',
91 `land_area` varchar(200) DEFAULT NULL COMMENT '占地面积(平方米)', 91 `land_area` varchar(200) DEFAULT NULL COMMENT '占地面积(平方米)',
92 `storage_conditions` varchar(100) DEFAULT NULL COMMENT '仓储条件', 92 `storage_conditions` varchar(100) DEFAULT NULL COMMENT '仓储条件',
93 - `employee_count` int DEFAULT NULL COMMENT '员工人数', 93 + `employee_count` varchar(50) DEFAULT NULL COMMENT '员工人数',
94 `equipment_attributes` varchar(100) DEFAULT NULL COMMENT '设备属性', 94 `equipment_attributes` varchar(100) DEFAULT NULL COMMENT '设备属性',
95 `asset_evaluation` varchar(200) DEFAULT NULL COMMENT '资产评估', 95 `asset_evaluation` varchar(200) DEFAULT NULL COMMENT '资产评估',
96 `last_year_sales` varchar(50) DEFAULT NULL COMMENT '上年度销售额(万元)', 96 `last_year_sales` varchar(50) DEFAULT NULL COMMENT '上年度销售额(万元)',
@@ -163,7 +163,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit_history` @@ -163,7 +163,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit_history`
163 `company_id` varchar(32) DEFAULT NULL COMMENT '单位名称', 163 `company_id` varchar(32) DEFAULT NULL COMMENT '单位名称',
164 `company_nature` varchar(100) DEFAULT NULL COMMENT '企业性质', 164 `company_nature` varchar(100) DEFAULT NULL COMMENT '企业性质',
165 `company_address` varchar(100) DEFAULT NULL COMMENT '单位地址', 165 `company_address` varchar(100) DEFAULT NULL COMMENT '单位地址',
166 - `registered_capital` double DEFAULT NULL COMMENT '注册资本(单位:万元)', 166 + `registered_capital` varchar(50) DEFAULT NULL COMMENT '注册资本',
167 `bank_account` varchar(50) DEFAULT NULL COMMENT '账号', 167 `bank_account` varchar(50) DEFAULT NULL COMMENT '账号',
168 `bank_name` varchar(100) DEFAULT NULL COMMENT '开户行', 168 `bank_name` varchar(100) DEFAULT NULL COMMENT '开户行',
169 `tax_number` varchar(50) DEFAULT NULL COMMENT '税号', 169 `tax_number` varchar(50) DEFAULT NULL COMMENT '税号',
@@ -173,7 +173,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit_history` @@ -173,7 +173,7 @@ CREATE TABLE IF NOT EXISTS `customer_credit_history`
173 `business_property` varchar(50) DEFAULT NULL COMMENT '经营场地属性', 173 `business_property` varchar(50) DEFAULT NULL COMMENT '经营场地属性',
174 `land_area` varchar(200) DEFAULT NULL COMMENT '占地面积(平方米)', 174 `land_area` varchar(200) DEFAULT NULL COMMENT '占地面积(平方米)',
175 `storage_conditions` varchar(100) DEFAULT NULL COMMENT '仓储条件', 175 `storage_conditions` varchar(100) DEFAULT NULL COMMENT '仓储条件',
176 - `employee_count` int DEFAULT NULL COMMENT '员工人数', 176 + `employee_count` varchar(50) DEFAULT NULL COMMENT '员工人数',
177 `equipment_attributes` varchar(100) DEFAULT NULL COMMENT '设备属性', 177 `equipment_attributes` varchar(100) DEFAULT NULL COMMENT '设备属性',
178 `asset_evaluation` varchar(200) DEFAULT NULL COMMENT '资产评估', 178 `asset_evaluation` varchar(200) DEFAULT NULL COMMENT '资产评估',
179 `last_year_sales` varchar(50) DEFAULT NULL COMMENT '上年度销售额(万元)', 179 `last_year_sales` varchar(50) DEFAULT NULL COMMENT '上年度销售额(万元)',
@@ -172,7 +172,7 @@ public class GetCustomerCreditBo extends BaseBo<CustomerCredit> implements BaseD @@ -172,7 +172,7 @@ public class GetCustomerCreditBo extends BaseBo<CustomerCredit> implements BaseD
172 * 员工人数 172 * 员工人数
173 */ 173 */
174 @ApiModelProperty("员工人数") 174 @ApiModelProperty("员工人数")
175 - private Integer employeeCount; 175 + private String employeeCount;
176 176
177 /** 177 /**
178 * 设备属性 178 * 设备属性
@@ -171,7 +171,7 @@ public class GetCustomerCreditHistoryBo extends BaseBo<CustomerCreditHistory> { @@ -171,7 +171,7 @@ public class GetCustomerCreditHistoryBo extends BaseBo<CustomerCreditHistory> {
171 * 员工人数 171 * 员工人数
172 */ 172 */
173 @ApiModelProperty("员工人数") 173 @ApiModelProperty("员工人数")
174 - private Integer employeeCount; 174 + private String employeeCount;
175 175
176 /** 176 /**
177 * 设备属性 177 * 设备属性
@@ -310,14 +310,14 @@ public class CustomerCreditController extends DefaultBaseController { @@ -310,14 +310,14 @@ public class CustomerCreditController extends DefaultBaseController {
310 List<List<String>> noteRows = Arrays.asList( 310 List<List<String>> noteRows = Arrays.asList(
311 Collections.singletonList("【重要填写说明】"), 311 Collections.singletonList("【重要填写说明】"),
312 Collections.singletonList("1. 带*是必填项"), 312 Collections.singletonList("1. 带*是必填项"),
313 - Collections.singletonList("2. 办事处要是全称:例如 北方办事处"),  
314 - Collections.singletonList("3. 区域要是全称:例如 山东区域"), 313 + Collections.singletonList("2. 办事处要是平台中存在的:例如 北方"),
  314 + Collections.singletonList("3. 区域要是平台中存在的:例如 山东"),
315 Collections.singletonList("4. 企业类型只能是:经销商、终端、外贸"), 315 Collections.singletonList("4. 企业类型只能是:经销商、终端、外贸"),
316 - Collections.singletonList("5. 注册资本格式:100 或 100万元,只支持数字类型"), 316 + Collections.singletonList("5. 注册资本格式:文本格式"),
317 Collections.singletonList("6. 登记日期、注册时间格式:2025年3月21日 或 2025-03-21 或 2025/3/21"), 317 Collections.singletonList("6. 登记日期、注册时间格式:2025年3月21日 或 2025-03-21 或 2025/3/21"),
318 Collections.singletonList("7. 年龄格式:正整数,不要带单位 例如 25"), 318 Collections.singletonList("7. 年龄格式:正整数,不要带单位 例如 25"),
319 Collections.singletonList("8. 性别格式:男 或 女"), 319 Collections.singletonList("8. 性别格式:男 或 女"),
320 - Collections.singletonList("9. 员工人数格式:正整数,不要带单位 例如 25"), 320 + Collections.singletonList("9. 员工人数格式:文本格式"),
321 Collections.singletonList("10. 建议客户分类格式:只能为:AAA、AA、A、BBB、BB、B、C、D"), 321 Collections.singletonList("10. 建议客户分类格式:只能为:AAA、AA、A、BBB、BB、B、C、D"),
322 Collections.singletonList("11. 调查人:只能是系统中存在的人") 322 Collections.singletonList("11. 调查人:只能是系统中存在的人")
323 ); 323 );
@@ -145,7 +145,7 @@ public class CustomerCredit extends BaseEntity implements BaseDto { @@ -145,7 +145,7 @@ public class CustomerCredit extends BaseEntity implements BaseDto {
145 /** 145 /**
146 * 员工人数 146 * 员工人数
147 */ 147 */
148 - private Integer employeeCount; 148 + private String employeeCount;
149 149
150 /** 150 /**
151 * 设备属性 151 * 设备属性
@@ -158,7 +158,7 @@ public class CustomerCreditHistory extends BaseEntity implements BaseDto { @@ -158,7 +158,7 @@ public class CustomerCreditHistory extends BaseEntity implements BaseDto {
158 * 员工人数 158 * 员工人数
159 */ 159 */
160 @Label("员工人数") 160 @Label("员工人数")
161 - private Integer employeeCount; 161 + private String employeeCount;
162 162
163 /** 163 /**
164 * 设备属性 164 * 设备属性
@@ -132,7 +132,7 @@ public class CustomerCreditExportModel extends BaseBo<GetCustomerCreditBo> imple @@ -132,7 +132,7 @@ public class CustomerCreditExportModel extends BaseBo<GetCustomerCreditBo> imple
132 * 员工人数 132 * 员工人数
133 */ 133 */
134 @ExcelProperty("员工人数") 134 @ExcelProperty("员工人数")
135 - private Integer employeeCount; 135 + private String employeeCount;
136 136
137 /** 137 /**
138 * 设备属性 138 * 设备属性
@@ -213,15 +213,6 @@ public class CustomerCreditImportListener extends ExcelImportListener<CustomerCr @@ -213,15 +213,6 @@ public class CustomerCreditImportListener extends ExcelImportListener<CustomerCr
213 "第" + context.readRowHolder().getRowIndex() + "行”性别“格式错误!"); 213 "第" + context.readRowHolder().getRowIndex() + "行”性别“格式错误!");
214 } 214 }
215 } 215 }
216 - //员工人数  
217 - if (data.getEmployeeCountStr() != null) {  
218 - try {  
219 - data.setEmployeeCount(Integer.parseInt(data.getEmployeeCountStr()));  
220 - } catch (Exception e) {  
221 - throw new DefaultClientException(  
222 - "第" + context.readRowHolder().getRowIndex() + "行”员工人数“格式错误!");  
223 - }  
224 - }  
225 //结算期限 216 //结算期限
226 if (StringUtil.isBlank(data.getSettlementPeriod())) { 217 if (StringUtil.isBlank(data.getSettlementPeriod())) {
227 throw new DefaultClientException( 218 throw new DefaultClientException(
@@ -280,14 +280,8 @@ public class CustomerCreditImportModel implements ExcelModel { @@ -280,14 +280,8 @@ public class CustomerCreditImportModel implements ExcelModel {
280 /** 280 /**
281 * 员工人数 281 * 员工人数
282 */ 282 */
283 - @ExcelIgnore  
284 - private Integer employeeCount;  
285 -  
286 - /**  
287 - * 员工人数  
288 - */  
289 - @ExcelProperty("员工人数(人)")  
290 - private String employeeCountStr; 283 + @ExcelProperty("员工人数")
  284 + private String employeeCount;
291 285
292 /** 286 /**
293 * 设备属性 287 * 设备属性
@@ -175,7 +175,7 @@ public class CreateCustomerCreditHistoryVo implements BaseVo, Serializable { @@ -175,7 +175,7 @@ public class CreateCustomerCreditHistoryVo implements BaseVo, Serializable {
175 */ 175 */
176 @ApiModelProperty("员工人数") 176 @ApiModelProperty("员工人数")
177 @TypeMismatch(message = "员工人数格式有误!") 177 @TypeMismatch(message = "员工人数格式有误!")
178 - private Integer employeeCount; 178 + private String employeeCount;
179 179
180 /** 180 /**
181 * 设备属性 181 * 设备属性
@@ -155,7 +155,7 @@ public class CreateCustomerCreditVo implements BaseVo, Serializable { @@ -155,7 +155,7 @@ public class CreateCustomerCreditVo implements BaseVo, Serializable {
155 */ 155 */
156 @ApiModelProperty("员工人数") 156 @ApiModelProperty("员工人数")
157 @TypeMismatch(message = "员工人数格式有误!") 157 @TypeMismatch(message = "员工人数格式有误!")
158 - private Integer employeeCount; 158 + private String employeeCount;
159 159
160 /** 160 /**
161 * 设备属性 161 * 设备属性
@@ -166,7 +166,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable { @@ -166,7 +166,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable {
166 */ 166 */
167 @ApiModelProperty("员工人数") 167 @ApiModelProperty("员工人数")
168 @TypeMismatch(message = "员工人数格式有误!") 168 @TypeMismatch(message = "员工人数格式有误!")
169 - private Integer employeeCount; 169 + private String employeeCount;
170 170
171 /** 171 /**
172 * 设备属性 172 * 设备属性