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
3f6cf16f
Commit
3f6cf16f
authored
May 13, 2019
by
季圣华
Browse files
解决用户分配客户失败的bug
parent
d62e6a5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/SupplierController.java
View file @
3f6cf16f
...
...
@@ -73,7 +73,9 @@ public class SupplierController {
* @return
*/
@PostMapping
(
value
=
"/findBySelect_cus"
)
public
JSONArray
findBySelectCus
(
HttpServletRequest
request
)
throws
Exception
{
public
JSONArray
findBySelectCus
(
@RequestParam
(
value
=
"UBType"
,
required
=
false
)
String
ubType
,
@RequestParam
(
value
=
"UBKeyId"
,
required
=
false
)
String
ubKeyId
,
HttpServletRequest
request
)
{
JSONArray
arr
=
new
JSONArray
();
try
{
List
<
Supplier
>
supplierList
=
supplierService
.
findBySelectCus
();
...
...
@@ -84,7 +86,7 @@ public class SupplierController {
//勾选判断1
Boolean
flag
=
false
;
try
{
flag
=
userBusinessService
.
checkIsUserBusinessExist
(
null
,
null
,
"["
+
supplier
.
getId
().
toString
()
+
"]"
);
flag
=
userBusinessService
.
checkIsUserBusinessExist
(
ubType
,
ubKeyId
,
"["
+
supplier
.
getId
().
toString
()
+
"]"
);
}
catch
(
DataAccessException
e
)
{
logger
.
error
(
">>>>>>>>>>>>>>>>>查询用户对应的客户:存在异常!"
);
}
...
...
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