Browse Source

app fix

master
adiao 3 years ago
parent
commit
ac7cb53c41
  1. 6
      app-dao/src/main/resources/mappers/WorkMapper.xml

6
app-dao/src/main/resources/mappers/WorkMapper.xml

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

Loading…
Cancel
Save