Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
d7ade048
Commit
d7ade048
authored
Aug 18, 2021
by
季圣华
Browse files
解决商品类型不能批量删除的bug
parent
888eb170
Changes
1
Show whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryService.java
View file @
d7ade048
...
...
@@ -183,19 +183,6 @@ public class MaterialCategoryService {
throw
new
BusinessRunTimeException
(
ExceptionConstants
.
DELETE_FORCE_CONFIRM_CODE
,
ExceptionConstants
.
DELETE_FORCE_CONFIRM_MSG
);
}
//校验产品类型表 jsh_material_category
List
<
MaterialCategory
>
materialCategoryList
=
null
;
try
{
materialCategoryList
=
materialCategoryMapperEx
.
getMaterialCategoryListByCategoryIds
(
idArray
);
}
catch
(
Exception
e
){
JshException
.
readFail
(
logger
,
e
);
}
if
(
materialCategoryList
!=
null
&&
materialCategoryList
.
size
()>
0
){
logger
.
error
(
"异常码[{}],异常提示[{}],参数,CategoryIds[{}]"
,
ExceptionConstants
.
DELETE_FORCE_CONFIRM_CODE
,
ExceptionConstants
.
DELETE_FORCE_CONFIRM_MSG
,
ids
);
throw
new
BusinessRunTimeException
(
ExceptionConstants
.
DELETE_FORCE_CONFIRM_CODE
,
ExceptionConstants
.
DELETE_FORCE_CONFIRM_MSG
);
}
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
BusinessConstants
.
LOG_OPERATION_TYPE_DELETE
);
List
<
MaterialCategory
>
list
=
getMaterialCategoryListByIds
(
ids
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment