修改不干胶工艺价格
This commit is contained in:
@@ -9,11 +9,12 @@
|
||||
FROM
|
||||
tbl_information
|
||||
<where>
|
||||
1=1
|
||||
<if test="content != null and content != ''">
|
||||
content like '%${content}%'
|
||||
AND content like '%${content}%'
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
type = '${type}'
|
||||
AND type = '${type}'
|
||||
</if>
|
||||
</where>
|
||||
order by id
|
||||
|
||||
@@ -8,8 +8,12 @@
|
||||
FROM
|
||||
tbl_standard_memo
|
||||
<where>
|
||||
1=1
|
||||
<if test="content != null and content != ''">
|
||||
title like '%${content}%' or content like '%${content}%'
|
||||
and title like '%${content}%' or content like '%${content}%'
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
and `type` = #{type}
|
||||
</if>
|
||||
</where>
|
||||
order by id desc
|
||||
@@ -17,8 +21,8 @@
|
||||
|
||||
<insert id="addStandardMemo" parameterType="lingtao.net.bean.StandardMemo">
|
||||
insert into tbl_standard_memo
|
||||
(content, createBy, createDate, title, memo)
|
||||
values (#{content}, #{createBy}, now(), #{title}, #{memo})
|
||||
(content, createBy, createDate, title, memo, type)
|
||||
values (#{content}, #{createBy}, now(), #{title}, #{memo}, #{type})
|
||||
</insert>
|
||||
|
||||
<update id="updateStandardMemoById" parameterType="lingtao.net.bean.StandardMemo">
|
||||
|
||||
Reference in New Issue
Block a user