<if test="lastEditTime!=null">last_edit_time=#{lastEditTime}</if>
</set>
WHERE area_id=#{areaId}
</update>
</set>
WHERE area_id=#{areaId}
</update>
2020-06-18
<update id="updateArea" parameterType="com.hhyu.demo.entity.Area">
UPDATE tb_area
<set>
<if test="areaName!=null">area_name=#{areaName}</if>
<if test="priority!=null">priority=#{priority}</if>
UPDATE tb_area
<set>
<if test="areaName!=null">area_name=#{areaName}</if>
<if test="priority!=null">priority=#{priority}</if>
2020-06-18
直接在application中配置datasource就行,比如druid的,然后在pom中引入druid的依赖就行了,不需要那么多配置
2020-03-20
最后的
if (that.data.areaId == undefined) {
wx.redirectTo({
url: '../list/list',
})
}
应该是 if (that.data.areaId != undefined) {...},不然不会自动跳转到list
if (that.data.areaId == undefined) {
wx.redirectTo({
url: '../list/list',
})
}
应该是 if (that.data.areaId != undefined) {...},不然不会自动跳转到list
2020-02-29