dangsn
2024-06-07 7664ba49025a6c549885fc6019e4d3c1886f45a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
package com.vci.frameworkcore.constant;
 
/**
 * 基础框架中业务部分的多语言代码
 * @author weidy
 * @date 2020/4/25
 */
public class FrameWorkBusLangCodeConstant {
 
    //登陆部分的
    /**
     * 用户已经登录
     */
    public static final String USER_IS_LOGINED = "userIsLogined";
 
    /**
     * 用户没有找到
     */
    public static final String USER_NOT_FOUND = "userNotFound";
 
    /**
     * 用户已经停用
     */
    public static final String USER_IS_DISABLED = "userIsDisabled";
 
    /**
     * 用户已经被锁定
     */
    public static final String USER_IS_LOCK = "userIsLocked";
 
    /**
     * 用户已经超过失效时间
     */
    public static final String USER_MORE_THAN_DISABLE_DATE = "moreDisableDate";
 
    /**
     * 用户密码错误被锁定
     */
    public static final String USER_PWD_LOCK = "userPwdErrorLock";
 
    /**
     * 用户密码不相等
     */
    public static final String USER_PWD_NOT_EQUAL = "userPwdNotEqual";
 
 
    //密码相关
 
    /**
     * 确认密码不相同
     */
    public static final String CHANGE_PWD_NOT_EQUAL="changePwdNotEqual";
 
    /**
     * 没有密码策略
     */
    public static final String HAS_NOT_PWD_STRATEGY="hasNotPasswordStrategy";
 
    /**
     * 密码安全策略未找到
     */
    public static final String PASSWORD_STRATEGY_NOT_FOUND = "passwordStrategyNotFound";
 
    /**
     * 密码所需字符类型为空
     */
    public static final String REQUIRE_CHAR_TYPE_NULL = "requireCharTypeNull";
 
    /**
     * 密码的字符类型不符合要求
     */
    public static final String REQUIRE_CHAR_TYPE_NOT_EXIST = "requireCharTypeNotExist";
 
    /**
     * 密码复杂度不符合要求
     */
    public static final String LESS_CHAR_TYPE = "lessCharType";
 
    /**
     * 密码不包含小写字母
     */
    public static final String NOT_HAS_LOW_LETTER= "notHasLowLetter";
 
    /**
     * 密码不包含数字
     */
    public static final String NOT_HAS_NUMBER = "notHasNumber";
 
    /**
     * 密码不包含特殊字母
     */
    public static final String NOT_HAS_SPECIAL ="notHasSpecial";
 
    /**
     * 密码不符合最小长度要求
     */
    public static final String LESS_MIN_LENGTH = "lessMinLength";
 
    /**
     * 密码不符合最大长度要求
     */
    public static final String MORE_MAX_lENGTH ="moreMaxLength";
    /**
     * 密码即将过期
     */
    public static final String PASSWORD_REMAIN_DAY = "passwordRemainDay";
 
    /**
     * 密码已过期
     */
    public static final String PASSWORD_EXPIRE = "passwordExpire";
 
    //组织
 
 
    //部门
 
    //职务
 
 
    //职级
 
    //用户
 
    //角色
 
    //权限
 
    //地区分类
 
    //地点
 
    //联系人
 
    //物料基本信息
 
    //物料
 
    /**
     * 物料的序列号
     */
    public static final String BD_MATERIAL_SERIAL_NUMBER_REPEAT = "materialSerialNumberRepeat";
 
    //库房类型
 
    /**
     * 库房分类的内部标识不全是英文
     */
    public static final String BD_WAREHOUSE_CLASSIFY_ID_NOT_LETTER = "warehouseClassifyIdNotLetter";
 
    /**
     * 因为已经有存在使用当前分类的库房,所以只是修改名称,描述和上级分类
     */
    public static final String BD_WAREHOUSE_CLASSIFY_LINK_BY_WAREHOUSE ="warehouseClassifyLinkByWarehouse" ;
 
    /**
     * 与上级库房基本分类的库房类型不相同
     */
    public static final String BD_WAREHOUSE_CLASSIFY_TYPE_NOT_EQUAL_PARENT = "warehouseClassifyParentNotEqualType";
 
    //库房管理
 
    /**
     * 与上级库房的库房分类不相同
     */
    public static final String BD_WAREHOUSE_PARENT_WAREHOUSE_NOT_EQUAL_CLASSIFY = "warehouseParentNotEqualClassify";
 
    /**
     * 有数据不能修改库房的所属基本分类
     */
    public static final String BD_WAREHOUSE_HAS_DATA_NOT_EDIT_CLASSIFY = "warehouseHasDataNotEditClassify";
 
    /**
     * 没有传递用户的主键,不能设置管理员
     */
    public static final String BD_WAREHOUSE_ADMIN_USEROID_NOT_HAS = "warehouseAdminUserOidNotHas";
 
    /**
     * 为库房设置管理员成功
     */
    public static final String BD_WAREHOUSE_ADMIN_LINK_SUCCESS = "warehouseAdminLinkSuccess";
 
    /**
     * 库房分类的主键不存在
     */
    public static final String BD_WAREHOUSE_CLASSIFY_OID_NOT_EXIST = "warehouseClassifyOidNotExsit";
 
    /**
     * 当前用户没有库房的权限
     */
    public static final String BD_WAREHOUSE_NOT_RIGHT = "warehouseNotRight";
 
 
    //货位
 
    /**
     * 上级不是一个货架
     */
    public static final String BD_GOODS_LOCATION_PARENT_NOT_SHELF = "goodsLocationParentNotShelf";
 
    //Feign
 
    /**
     * 当前用户没有对该库房的操作权限
     */
    public static final String BD_FEIGN_WAREHOUSEADMIN_NOT_PERMISSION = "feignCheckWareHouseAdminPermissions";
 
    //计量单位
    /**
     * 计量单位不存在
     */
    public static final String UNIT_NOT_EXIST_BY_IDS = "unitNotExistByIds";
 
    /**
     * 添加成功
     */
    public static final String ADD_SUCCESS ="addSuccess";
 
    /**
     * 添加失败
     */
    public static final String ADD_FAIL = "addFailInDB";
 
    /**
     * 修改成功
     */
    public static final String EDIT_SUCCESS = "editSuccess";
 
    /**
     * 修改失败
     */
    public static final String EDIT_FAIL = "editFail";
 
    /**
     * 删除成功
     */
    public static final String DELETE_SUCCESS = "deleteSuccess";
 
    /**
     * 级联删除成功
     */
    public static final String DELETE_SUCCESS_CASCADE = "deleteSuccessCascade";
 
    /**
     * 删除失败
     */
    public static final String DELETE_FAIL = "deleteFail";
 
    /**
     * 启用成功
     */
    public static final String ENABLE_SUCCESS ="enableSuccess";
 
    /**
     * 锁定成功
     */
    public static final String LOCK_SUCCESS = "lockSuccess";
 
    /**
     * 锁定失败
     */
    public static final String LOCK_FAIL = "lockFail";
 
    /**
     * 解锁成功
     */
    public static final String UNLOCK_SUCCESS = "unlockSuccess";
 
    /**
     * 解锁失败
     */
    public static final String UNLOCK_FAIL = "unlockFail";
 
    /**
     * 级联启用成功
     */
    public static final String ENABLE_SUCCESS_CASCADE = "enableSuccessCascade";
 
    /**
     * 启用失败
     */
    public static final String ENABLE_FAIL = "enableFail";
 
    /**
     * 停用成功
     */
    public static final String DISABLE_SUCCESS = "disableSuccess";
 
    /**
     * 级联停用成功
     */
    public static final String DISABLE_SUCCESS_CASCADE = "disableSuccessCascade";
 
    /**
     * 停用失败
     */
    public static final String DISABLE_FAIL = "disableFail";
 
    /**
     * 升版本号成功
     */
    public static final String UP_REVISION_SUCCESS = "dataUpRevisionSuccess";
 
    /**
     * 升版本号失败
     */
    public static final String UP_REVISION_FAIL = "dataUpRevisionFail";
 
    /**
     * 升版次成功
     */
    public static final String UP_VERSION_SUCCESS = "dataUpVersionSuccess";
 
    /**
     * 升版次失败
     */
    public static final String UP_VERSION_FAIL = "dataUpVersionFail";
 
    /**
     * 提交成功
     */
    public static final String SUBMIT_SUCCESS= "submitSuccess";
 
    /**
     * 提交失败
     */
    public static final String SUBMIR_FAIL = "submitFail";
 
    /**
     * 发布成功
     */
    public static final String RELEASE_SUCCESS = "releaseSuccess";
 
    /**
     * 发布失败
     */
    public static final String RELEASE_FAIL = "releaseFail";
 
    /**
     * 版本号重复
     */
    public static final String REVISION_REPEAT = "revisionRepeat";
 
    /**
     * 版次号重复
     */
    public static final String VERSION_REPEAT= "versionRepeat";
 
    /**
     * 根据主键查询数据不存在
     */
    public static final String DATA_OID_NOT_EXIST = "dataOidNotExist";
 
    /**
     * 根据主键查询的数据不存在
     */
    public static final String DATA_ID_NOT_EXIST = "dataIdNotExist";
 
    /**
     * 根据名称查询的数据不存在
     */
    public static final String DATA_NAME_NOT_EXIST = "dataNameNotExist";
 
    /**
     * 属性值重复
     */
    public static final String DATA_ATTR_REPEAT = "dataRepeat";
 
    /**
     * 老版本的数据不存在
     */
    public static final String OLD_REVISION_DATA_NOT_EXIST = "oldRevsionDataNotExist";
 
    /**
     * 上级主键实际是当前节点的下级节点,会引起死循环
     */
    public static final String PARENT_OID_IS_CHILD ="parentIsChild";
 
    /**
     * 数据被引用,不允许删除
     */
    public static final String DATA_LINKED_NOT_DELETE = "dataLinkedNotDelete";
 
    /**
     * 数据的子节点也被引用,不允许删除
     */
    public static final String DATA_CASCADE_LINKED_NOT_DELETE = "dataCascadeLinkedNotDelete";
 
    /**
     * 数据被引用,不允许修改
     */
    public static final String DATA_LINKED_NOT_EDIT ="dataLinkedNotEdit";
 
    /**
     * 数据不引用,不允许修改某个属性
     */
    public static final String DATA_LINKED_NOT_EDIT_ATTR="dataLinkedNotEditAttr";
 
    /**
     * 上级档案不存在
     */
    public static final String DATA_PARENT_NOT_EXIST = "parentNotExist";
 
    /**
     * 分类数据不存在
     */
    public static final String DATA_CLASSIFY_NOT_EXIST = "classifyNotExist";
 
    /**
     * 当前状态下不允许修改数据
     */
    public static final String LCSTATUS_CAN_NOT_EDIT = "lcStatusCannotEditData";
 
    /**
     * 当前状态下不允许删除数据
     */
    public static final String LCSTATUS_CAN_NOT_DELETE = "lcStatusCannotDeleteData";
 
    /**
     * 导入成功
     */
    public static final String IMPORT_SUCCESS = "importSuccess";
 
    /**
     * 导入失败
     */
    public static final String IMPORT_FAIL = "importFail";
 
    /**
     * 导入的模板文件不存在
     */
    public static final String IMPORT_TEMPLATE_FILE_NOT_FOUND = "importTemplateFileNotFound";
 
    /**
     * 导出成功
     */
    public static final String EXPORT_SUCCESS = "exportSuccess";
 
    /**
     * 导出失败
     */
    public static final String EXPORT_FAIL = "exportFail";
 
    /**
     * 上传成功
     */
    public static final String UPLOAD_SUCCESS = "uploadSuccess";
 
    /**
     * 上传失败
     */
    public static final String UPLOAD_FAIL = "uploadFail";
 
    /**
     * 下载成功
     */
    public static final String DOWNLOAD_SUCCESS = "downloadSuccess";
 
    /**
     * 下载失败
     */
    public static final String DOWNLOAD_FAIL = "downloadFail";
 
    /**
     * 文件不存在
     */
    public static final String FILE_NOT_EXIST = "fileNotExist";
 
    /**
     * 审批成功
     */
    public static final String AUDIT_SUCCESS = "auditSuccess";
 
    /**
     * 审批失败
     */
    public static final String AUDIT_FAIL = "auditFail";
 
    /**
     * 下发成功
     */
    public static final String ISSUED_SUCCESS = "issuedSuccess";
 
    /**
     * 下发失败
     */
    public static final String ISSUED_FAIL = "issuedFail";
 
    /**
     * 接收成功
     */
    public static final String RECEIVE_SUCCESS = "receiveSuccess";
 
    /**
     * 接收失败
     */
    public static final String RECEIVE_FAIL = "receiveFail";
 
    /**
     * 计划的制造依据不存在
     */
    public static final String PLAN_SOURCE_NOT_EXIST = "planSourceNotExist";
 
    /**
     * 计划的制造目标不存在
     */
    public static final String PLAN_TARGET_NOT_EXIST = "planTargetNotExist";
 
    /**
     * 派发成功
     */
    public static final String DISPATCH_SUCCESS = "dispatchSuccess";
 
    /**
     * 派发失败
     */
    public static final String DISPATCH_FAIL = "dispatchFail";
 
    /**
     * 该计划下不存在派发过的任务
     */
    public static final String DISPATCH_TASK_NOT_EXIST_BY_PLAN = "dispatchTaskNotExistByPlan";
 
    /**
     * 系统异常
     */
    public static final String SYSTEM_ERROR = "systemError";
 
    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "loginSuccess";
 
    /**
     * 初始密码需要修改
     */
    public static final String PASSWORD_INIT = "passwordInit";
 
    /**
     * 密码策略已经修改,需修改账号密码
     */
    public static final String PASSWORD_POLICY_UPDATED = "passwordPolicyUpdated";
}