Commit 1760d5a3 authored by niminmin's avatar niminmin

Merge branch 'feature/商业伙伴.代理店优化' into develop

parents 3e392a34 68702b30
Pipeline #2882 canceled with stages
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -229,6 +229,9 @@ ...@@ -229,6 +229,9 @@
while (e && e.getCause && e.getCause()) e = e.getCause(); while (e && e.getCause && e.getCause()) e = e.getCause();
var error_code = e.getErrorCode(); var error_code = e.getErrorCode();
if (error_code == 1) { if (error_code == 1) {
if(base_table.toUpperCase()=='HLS_LEASE_ITEM'){
raise_app_error('机种代码和型号不能重复!');
}else
raise_app_error('HLS_TABLE_UNIQUE.' + base_table.toUpperCase()); raise_app_error('HLS_TABLE_UNIQUE.' + base_table.toUpperCase());
} }
if (parent_error_code) { if (parent_error_code) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment