Commit 22240427f129e5cafbf7d431f2ec79a834b3cd53

Authored by liquanyu
1 parent 068b7116a6
Exists in master and in 1 other branch dev

服务

Showing 1 changed file with 12 additions and 0 deletions

platform-biz-service/src/main/resources/mainOrm/master/TServiceTimeRecord.xml View file @ 2224042
... ... @@ -18,6 +18,18 @@
18 18 <include refid="orderAndLimit"/>
19 19 </select>
20 20  
  21 +
  22 + <update id="updateServiceTimeRecord" parameterType="com.lyms.platform.pojo.TServiceTimeRecord">
  23 + update t_service_time_record
  24 + <set>
  25 + <if test="endType != null">
  26 + endType = #{endType,jdbcType=INTEGER},
  27 + </if>
  28 + </set>
  29 + where id = #{id,jdbcType=INTEGER}
  30 + </update>
  31 +
  32 +
21 33 <select id="queryServiceTimeRecordsEnd" parameterType="com.lyms.platform.query.TServiceTimeRecordQuery"
22 34 resultType="com.lyms.platform.pojo.TServiceTimeRecord">
23 35 SELECT s.id,s.serviceId,s.createTime,s.updateTime,s.startTime,s.endTime,s.type