Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huang.tao
/
jmai-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a72240d7
authored
Nov 24, 2025
by
huangtao
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
供应商
parent
a66e51bd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
4 deletions
jmai-physic/src/main/resources/mapper/PhysicApplyMapper.xml
jmai-physic/src/main/resources/mapper/PhysicDestroyMapper.xml
jmai-physic/src/main/resources/mapper/PhysicRecordMapper.xml
jmai-physic/src/main/resources/mapper/PhysicWarehouseMapper.xml
logs/jmai/error.log
spy.log
jmai-physic/src/main/resources/mapper/PhysicApplyMapper.xml
View file @
a72240d7
...
...
@@ -9,7 +9,12 @@
(select dept_name from sys_dept d where d.id = a.ly_dept_id) as lyDeptName
,(select dept_name from sys_dept d where d.id = a.fy_dept_id) as fyDeptName
from physic_apply a
where a.del_flag =0 and a.status=#{req.status}
where a.del_flag =0
<if
test=
"req.status !=null"
>
and a.status=#{req.status}
</if>
<if
test=
"req.keyword != null and req.keyword != ''"
>
AND (
a.physic_name LIKE CONCAT('%', #{req.keyword}, '%')
...
...
@@ -18,6 +23,7 @@
)
</if>
order by a.create_time desc
</select>
</mapper>
jmai-physic/src/main/resources/mapper/PhysicDestroyMapper.xml
View file @
a72240d7
...
...
@@ -5,7 +5,10 @@
<select
id=
"selectDestroyPage"
resultType=
"com.jmai.physic.entity.PhysicDestroy"
>
select * from physic_destroy
where del_flag =0 and status=#{req.status}
where del_flag =0
<if
test=
"req.status !=null"
>
and status=#{req.status}
</if>
<if
test=
"req.keyword != null and req.keyword != ''"
>
AND (
sick_name LIKE CONCAT('%', #{req.keyword}, '%')
...
...
jmai-physic/src/main/resources/mapper/PhysicRecordMapper.xml
View file @
a72240d7
...
...
@@ -4,7 +4,10 @@
<select
id=
"selectRecordPage"
resultType=
"com.jmai.physic.entity.PhysicRecord"
>
select * from physic_record
where del_flag =0 and status=#{req.status}
where del_flag =0
<if
test=
"req.status !=null"
>
and status=#{req.status}
</if>
<if
test=
"req.keyword != null and req.keyword != ''"
>
AND (
physic_name LIKE CONCAT('%', #{req.keyword}, '%')
...
...
jmai-physic/src/main/resources/mapper/PhysicWarehouseMapper.xml
View file @
a72240d7
...
...
@@ -10,7 +10,10 @@
<select
id=
"selectWarehousePage"
resultType=
"com.jmai.physic.vo.PhysicWarehouseVO"
>
select a.id as physicWarehouseId,a.*,b.dept_name as deptName from physic_warehouse a
left join sys_dept b on a.dept_id =b.id
where a.del_flag =0 and a.status=#{req.status}
where a.del_flag =0
<if
test=
"req.status !=null"
>
and a.status=#{req.status}
</if>
<if
test=
"req.keyword != null and req.keyword != ''"
>
AND (
a.physic_name LIKE CONCAT('%', #{req.keyword}, '%')
...
...
@@ -18,6 +21,9 @@
OR a.factory_name LIKE CONCAT('%', #{req.keyword}, '%')
)
</if>
order by a.create_time desc
</select>
</mapper>
logs/jmai/error.log
View file @
a72240d7
This diff is collapsed.
Click to expand it.
spy.log
View file @
a72240d7
This diff is collapsed.
Click to expand it.
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