update traffpicture set objx=#{objx},objy=#{objy},objw=#{objw},objh=#{objh},imagedata=#{imagedata},metatype=#{metatype},targetnum=#{targetnum} where id=#{id}
update traffpicture
<trimprefix="set"suffixOverrides=",">
<iftest="imagedata != null and imagedata !=''">
imagedata =#{imagedata},
</if>
<iftest="targetnum != null and targetnum !=''">
targetnum =#{targetnum},
</if>
<iftest="objx != null and objx !=''">
objx =#{objx},
</if>
<iftest="objy != null and objy !=''">
objy =#{objy},
</if>
<iftest="objw != null and objw !=''">
objw =#{objw},
</if>
<iftest="objh != null and objh !=''">
objh =#{objh},
</if>
</trim>
where id=#{id}
</update>
<updateid="updateTraffpicturePushStatus">
update traffpicture set pushdesc=#{pushdesc} , pushstatus=#{pushstatus} where id=#{id}