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
91513411
Commit
91513411
authored
May 16, 2021
by
季圣华
Browse files
解决分配仓库不展示的bug
parent
68d49f62
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/depot/DepotService.java
View file @
91513411
...
...
@@ -116,6 +116,8 @@ public class DepotService {
Depot
depot
=
JSONObject
.
parseObject
(
obj
.
toJSONString
(),
Depot
.
class
);
int
result
=
0
;
try
{
depot
.
setType
(
0
);
depot
.
setIsDefault
(
false
);
result
=
depotMapper
.
insertSelective
(
depot
);
logService
.
insertLog
(
"仓库"
,
new
StringBuffer
(
BusinessConstants
.
LOG_OPERATION_TYPE_ADD
).
append
(
depot
.
getName
()).
toString
(),
request
);
...
...
jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml
View file @
91513411
...
...
@@ -132,7 +132,7 @@
</select>
<select
id=
"findMaterialsListByHeaderId"
resultType=
"java.lang.String"
>
select group_concat(concat(jsh_material.name,' ',jsh_material.standard,' ',jsh_material.model)) as mName
select group_concat(concat(jsh_material.name,' ',
ifnull(
jsh_material.standard,'
'),'
',
ifnull(
jsh_material.model
,'')
)) as mName
from jsh_depot_item
inner join jsh_material on jsh_depot_item.material_id = jsh_material.Id and ifnull(jsh_material.delete_Flag,'0') !='1'
where jsh_depot_item.header_id = ${id}
...
...
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