|
|
|
|
@ -11,9 +11,13 @@
@@ -11,9 +11,13 @@
|
|
|
|
|
update work |
|
|
|
|
<set> |
|
|
|
|
<if test="workId != null and workId != ''"> |
|
|
|
|
workId = #{workId} |
|
|
|
|
</if> |
|
|
|
|
</set> |
|
|
|
|
workId = #{workId}, |
|
|
|
|
</if> |
|
|
|
|
<if test="workName != null and workName !=''"> |
|
|
|
|
workName = #{workName}, |
|
|
|
|
</if> |
|
|
|
|
</set> |
|
|
|
|
where id = #{id} |
|
|
|
|
</update> |
|
|
|
|
<select id="getByWorkId" resultType="co.depsystem.app.Dao.dataobject.WorkDO" parameterType="string"> |
|
|
|
|
select workId from work where workId = #{workId}; |
|
|
|
|
|