Browse Source

app fix

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

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

@ -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};

Loading…
Cancel
Save