Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
isoft_psa
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王飞
isoft_psa
Commits
976730ff
Commit
976730ff
authored
Mar 26, 2025
by
ZhangRunSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物资查询
parent
3f76f4d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
PsaMaterialMapper.xml
.../src/main/resources/mapper/material/PsaMaterialMapper.xml
+10
-10
No files found.
ruoyi-psa/src/main/resources/mapper/material/PsaMaterialMapper.xml
View file @
976730ff
...
...
@@ -67,12 +67,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectPsaMaterialList"
parameterType=
"PsaMaterial"
resultMap=
"PsaMaterialResult"
>
<include
refid=
"selectPsaMaterialVo"
/>
<where>
<if
test=
"itemCode != null and itemCode != ''"
>
and item_code = #{itemCode}
</if>
<if
test=
"itemId != null "
>
and item_id = #{itemId}
</if>
<if
test=
"typeId != null "
>
and type_id = #{typeId}
</if>
<if
test=
"stock != null "
>
and stock = #{stock}
</if>
<if
test=
"unit != null and unit != ''"
>
and unit = #{unit}
</if>
<if
test=
"draft != null and draft != ''"
>
and draft = #{draft}
</if>
<if
test=
"itemCode != null and itemCode != ''"
>
and
pm.
item_code = #{itemCode}
</if>
<if
test=
"itemId != null "
>
and
pm.
item_id = #{itemId}
</if>
<if
test=
"typeId != null "
>
and
pm.
type_id = #{typeId}
</if>
<if
test=
"stock != null "
>
and
pm.
stock = #{stock}
</if>
<if
test=
"unit != null and unit != ''"
>
and
pm.
unit = #{unit}
</if>
<if
test=
"draft != null and draft != ''"
>
and
pm.
draft = #{draft}
</if>
</where>
</select>
...
...
@@ -105,14 +105,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"itemCode != null and itemCode != ''"
>
and item_code like concat('%', #{itemCode}, '%')
</if>
<if
test=
"ids != null and ids.length > 0 "
>
and item_id in
and
pm.
item_id in
<foreach
item=
"id"
collection=
"ids"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</if>
<if
test=
"typeId != null "
>
and type_id = #{typeId}
</if>
<if
test=
"draft != null and draft != ''"
>
and draft = #{draft}
</if>
<if
test=
"delFlag != null and delFlag != ''"
>
and del_flag = #{delFlag}
</if>
<if
test=
"typeId != null "
>
and
pm.
type_id = #{typeId}
</if>
<if
test=
"draft != null and draft != ''"
>
and
pm.
draft = #{draft}
</if>
<if
test=
"delFlag != null and delFlag != ''"
>
and
pm.
del_flag = #{delFlag}
</if>
</where>
</select>
...
...
Write
Preview
Markdown
is supported
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