Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
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
sa_aidea
Aidea
Commits
74580726
Commit
74580726
authored
Nov 08, 2020
by
黎聪聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020年11月4日 20:33:26
parent
9a62e01a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
ConsultSheetMapper.xml
...n/java/com/cftech/consultsheet/dao/ConsultSheetMapper.xml
+1
-1
OrderMapper.xml
...module/src/main/java/com/cftech/order/dao/OrderMapper.xml
+1
-0
ProductclassifyMapper.xml
.../com/cftech/productclassify/dao/ProductclassifyMapper.xml
+3
-3
CfarticleMapper.xml
...ain/java/com/cftech/cms/cfarticle/dao/CfarticleMapper.xml
+5
-3
No files found.
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/dao/ConsultSheetMapper.xml
View file @
74580726
...
...
@@ -205,7 +205,7 @@
<if
test=
"openid!=null"
>
and open_id = {openid}
</if>
<if
test=
"name!=null"
>
<if
test=
"name!=null
and name !=''
"
>
and user_name like concat('%',#{name},'%')
</if>
<if
test=
"id!=null"
>
...
...
aidea-modules/order-module/src/main/java/com/cftech/order/dao/OrderMapper.xml
View file @
74580726
...
...
@@ -487,6 +487,7 @@
<if
test=
"status!=null "
>
AND t.status =#{status}
</if>
ORDER BY t.create_time
</select>
<select
id=
"orderDetill"
resultType=
"com.cftech.order.model.ProductMobile"
>
...
...
aidea-modules/product-classify-module/src/main/java/com/cftech/productclassify/dao/ProductclassifyMapper.xml
View file @
74580726
...
...
@@ -230,17 +230,17 @@
c.classify_name AS classifyName
FROM t_aidea_product t LEFT JOIN t_aidea_product_classify c
ON find_in_set(c.id,t.classify_id) > 0 WHERE t.del_flag = 0 and c.del_flag = 0
<if
test=
"productName !=null"
>
<if
test=
"productName !=null
and productName!=''
"
>
and
t.product_name like concat('%',#{productName},'%')
</if>
<if
test=
"classifyName !=null"
>
<if
test=
"classifyName !=null
and productName!=''
"
>
and
c.classify_name = #{classifyName}
</if>
<if
test=
"dosagaFrom !=null"
>
<if
test=
"dosagaFrom !=null
and productName!=''
"
>
and
t.dosaga_from = #{dosagaFrom}
</if>
...
...
cms-modules/cms-core-module/src/main/java/com/cftech/cms/cfarticle/dao/CfarticleMapper.xml
View file @
74580726
...
...
@@ -372,11 +372,12 @@ a.size
FROM wx_cms_cfarticle a
LEFT JOIN wx_cms_column b
ON b.id = a.`column`
WHERE a.del_flag = 0
and b.del_flag = 0
WHERE a.del_flag = 0
<if
test=
"id!=null"
>
and a.id = #{id}
</if>
ORDER BY
a.create_time
</select>
<update
id=
"reading"
parameterType=
"java.lang.Integer"
>
update wx_cms_cfarticle
...
...
@@ -464,7 +465,8 @@ WHERE del_flag=0
<if
test=
"id!=null"
>
AND `column`= #{id}
</if>
ORDER BY
create_time
</select>
</mapper>
\ No newline at end of file
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