202505261822

This commit is contained in:
张潘 2025-05-26 18:22:40 +08:00
parent aee37e75cc
commit b09bf4d2bb
33 changed files with 182 additions and 200 deletions

View File

@ -49,7 +49,6 @@
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="type != null">#{type},</if>
@ -62,7 +61,6 @@
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -77,7 +75,7 @@
<if test="sort != null">sort = #{sort},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW(),
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
</trim>
where id = #{id}

View File

@ -89,8 +89,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="productId != null">#{productId},</if>
<if test="receiveType != null and receiveType != ''">#{receiveType},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
<if test="createdAt != null">NOW(),</if>
<if test="updatedAt != null">NOW(),</if>
</trim>
</insert>
@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="receiveType != null and receiveType != ''">receive_type = #{receiveType},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="updatedAt != null">updated_at = NOW(),</if>
</trim>
where id = #{id}
</update>

View File

@ -72,8 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deliveryId != null">delivery_id,</if>
<if test="deliveryNum != null">delivery_num,</if>
<if test="mark != null">mark,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at,
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderId != null and orderId != ''">#{orderId},</if>
@ -90,8 +90,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deliveryId != null">#{deliveryId},</if>
<if test="deliveryNum != null">#{deliveryNum},</if>
<if test="mark != null">#{mark},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -112,8 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deliveryId != null">delivery_id = #{deliveryId},</if>
<if test="deliveryNum != null">delivery_num = #{deliveryNum},</if>
<if test="mark != null">mark = #{mark},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -86,8 +86,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="skuType != null">sku_type,</if>
<if test="sku != null and sku != ''">sku,</if>
<if test="contetnt != null">contetnt,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
@ -104,8 +104,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="skuType != null">#{skuType},</if>
<if test="sku != null and sku != ''">#{sku},</if>
<if test="contetnt != null">#{contetnt},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -126,8 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="skuType != null">sku_type = #{skuType},</if>
<if test="sku != null and sku != ''">sku = #{sku},</if>
<if test="contetnt != null">contetnt = #{contetnt},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at=NOW()
</trim>
where id = #{id}
</update>

View File

@ -39,15 +39,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone,</if>
<if test="provinceId != null">province_id,</if>
<if test="cityId != null">city_id,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="phone != null and phone != ''">#{phone},</if>
<if test="provinceId != null">#{provinceId},</if>
<if test="cityId != null">#{cityId},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -57,8 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone = #{phone},</if>
<if test="provinceId != null">province_id = #{provinceId},</if>
<if test="cityId != null">city_id = #{cityId},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at=NOW()
</trim>
where id = #{id}
</update>

View File

@ -39,15 +39,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone,</if>
<if test="provinceId != null and provinceId != ''">province_id,</if>
<if test="cityId != null and cityId != ''">city_id,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="phone != null and phone != ''">#{phone},</if>
<if test="provinceId != null and provinceId != ''">#{provinceId},</if>
<if test="cityId != null and cityId != ''">#{cityId},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -57,8 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone = #{phone},</if>
<if test="provinceId != null and provinceId != ''">province_id = #{provinceId},</if>
<if test="cityId != null and cityId != ''">city_id = #{cityId},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at=NOW()
</trim>
where id = #{id}
</update>

View File

@ -70,8 +70,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endTime != null">endTime,</if>
<if test="answeredTime != null">answeredTime,</if>
<if test="isAccept != null">is_accept,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
@ -84,8 +84,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endTime != null">#{endTime},</if>
<if test="answeredTime != null">#{answeredTime},</if>
<if test="isAccept != null">#{isAccept},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -102,8 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endTime != null">endTime = #{endTime},</if>
<if test="answeredTime != null">answeredTime = #{answeredTime},</if>
<if test="isAccept != null">is_accept = #{isAccept},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -66,8 +66,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="numType != null">num_type,</if>
<if test="status != null">status,</if>
<if test="workerId != null">worker_id,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
@ -80,8 +80,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="numType != null">#{numType},</if>
<if test="status != null">#{status},</if>
<if test="workerId != null">#{workerId},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -98,8 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="numType != null">num_type = #{numType},</if>
<if test="status != null">status = #{status},</if>
<if test="workerId != null">worker_id = #{workerId},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -109,9 +109,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="couponId != null">coupon_id,</if>
<if test="deduction != null">deduction,</if>
<if test="workerLogId != null">worker_log_id,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
@ -137,9 +138,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="couponId != null">#{couponId},</if>
<if test="deduction != null">#{deduction},</if>
<if test="workerLogId != null">#{workerLogId},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -169,9 +171,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="couponId != null">coupon_id = #{couponId},</if>
<if test="deduction != null">deduction = #{deduction},</if>
<if test="workerLogId != null">worker_log_id = #{workerLogId},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -141,9 +141,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="logJson != null">log_json,</if>
<if test="jsonStatus != null">json_status,</if>
<if test="logImages != null">log_images,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="type != null">#{type},</if>
@ -188,9 +189,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="logJson != null">#{logJson},</if>
<if test="jsonStatus != null">#{jsonStatus},</if>
<if test="logImages != null">#{logImages},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -239,9 +241,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="logJson != null">log_json = #{logJson},</if>
<if test="jsonStatus != null">json_status = #{jsonStatus},</if>
<if test="logImages != null">log_images = #{logImages},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -48,8 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone,</if>
<if test="mark != null and mark != ''">mark,</if>
<if test="status != null">status,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null">#{uid},</if>
@ -58,8 +58,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">#{phone},</if>
<if test="mark != null and mark != ''">#{mark},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -72,8 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phone != null and phone != ''">phone = #{phone},</if>
<if test="mark != null and mark != ''">mark = #{mark},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -40,14 +40,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="oid != null">oid,</if>
<if test="file != null">file,</if>
<if test="createdAt != null">created_at,</if>
<if test="isMerge != null">is_merge,</if>
created_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
<if test="file != null">#{file},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="isMerge != null">#{isMerge},</if>
NOW()
</trim>
</insert>
@ -56,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="oid != null">oid = #{oid},</if>
<if test="file != null">file = #{file},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="isMerge != null">is_merge = #{isMerge},</if>
</trim>
where id = #{id}

View File

@ -53,15 +53,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="oid != null">oid,</if>
<if test="file != null and file != ''">file,</if>
<if test="workerUid != null">worker_uid,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
<if test="file != null and file != ''">#{file},</if>
<if test="workerUid != null">#{workerUid},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -71,8 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="oid != null">oid = #{oid},</if>
<if test="file != null and file != ''">file = #{file},</if>
<if test="workerUid != null">worker_uid = #{workerUid},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -46,8 +46,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="price != null">price,</if>
<if test="mark != null and mark != ''">mark,</if>
<if test="payTime != null">pay_time,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oid != null">#{oid},</if>
@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="price != null">#{price},</if>
<if test="mark != null and mark != ''">#{mark},</if>
<if test="payTime != null">#{payTime},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -70,8 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="price != null">price = #{price},</if>
<if test="mark != null and mark != ''">mark = #{mark},</if>
<if test="payTime != null">pay_time = #{payTime},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -46,8 +46,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title,</if>
<if test="price != null">price,</if>
<if test="unit != null and unit != ''">unit,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="goodId != null and goodId != ''">#{goodId},</if>
@ -55,8 +55,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">#{title},</if>
<if test="price != null">#{price},</if>
<if test="unit != null and unit != ''">#{unit},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -68,8 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title = #{title},</if>
<if test="price != null">price = #{price},</if>
<if test="unit != null and unit != ''">unit = #{unit},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title,</if>
<if test="price != null">price,</if>
<if test="unit != null and unit != ''">unit,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="goodId != null and goodId != ''">#{goodId},</if>
@ -65,8 +65,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">#{title},</if>
<if test="price != null">#{price},</if>
<if test="unit != null and unit != ''">#{unit},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -78,8 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title = #{title},</if>
<if test="price != null">price = #{price},</if>
<if test="unit != null and unit != ''">unit = #{unit},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -53,16 +53,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="goodId != null and goodId != ''">good_id,</if>
<if test="sort != null">sort,</if>
<if test="status != null">status,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
<if test="goodId != null and goodId != ''">#{goodId},</if>
<if test="sort != null">#{sort},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -73,8 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="goodId != null and goodId != ''">good_id = #{goodId},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -40,16 +40,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="goodId != null and goodId != ''">good_id,</if>
<if test="sort != null">sort,</if>
<if test="status != null">status,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
<if test="goodId != null and goodId != ''">#{goodId},</if>
<if test="sort != null">#{sort},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -60,8 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="goodId != null and goodId != ''">good_id = #{goodId},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -42,9 +42,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null">status,</if>
<if test="browse != null">browse,</if>
<if test="type != null">type,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
@ -53,9 +54,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null">#{status},</if>
<if test="browse != null">#{browse},</if>
<if test="type != null">#{type},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -68,9 +70,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null">status = #{status},</if>
<if test="browse != null">browse = #{browse},</if>
<if test="type != null">type = #{type},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -98,9 +98,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="basic != null">basic,</if>
<if test="margin != null">margin,</if>
<if test="skillIds != null">skill_ids,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
@ -127,9 +128,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="basic != null">#{basic},</if>
<if test="margin != null">#{margin},</if>
<if test="skillIds != null">#{skillIds},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -160,9 +162,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="basic != null">basic = #{basic},</if>
<if test="margin != null">margin = #{margin},</if>
<if test="skillIds != null">skill_ids = #{skillIds},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -36,14 +36,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="name != null">name,</if>
<if test="value != null">value,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null">#{name},</if>
<if test="value != null">#{value},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -52,8 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="name != null">name = #{name},</if>
<if test="value != null">value = #{value},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -42,16 +42,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="code != null and code != ''">code,</if>
<if test="sort != null">sort,</if>
<if test="status != null">status,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
<if test="code != null and code != ''">#{code},</if>
<if test="sort != null">#{sort},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -62,8 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="code != null and code != ''">code = #{code},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -39,15 +39,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title,</if>
<if test="sort != null">sort,</if>
<if test="status != null">status,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
<if test="sort != null">#{sort},</if>
<if test="status != null">#{status},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -57,8 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="title != null and title != ''">title = #{title},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="status != null">status = #{status},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="email != null and email != ''">#{email},</if>
<if test="status != null">#{status},</if>
<if test="createBy != null and createBy != ''">#{createBy},</if>
sysdate()
NOW()
)
</insert>
@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="email != null">email = #{email},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
update_time = sysdate()
update_time = NOW()
</set>
where dept_id = #{deptId}
</update>

View File

@ -46,34 +46,30 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into user_address
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="uid != null">uid,</if>
<if test="name != null and name != ''">name,</if>
<if test="phone != null and phone != ''">phone,</if>
<if test="latitude != null and latitude != ''">latitude,</if>
<if test="longitude != null and longitude != ''">longitude,</if>
<if test="name != null">name,</if>
<if test="phone != null">phone,</if>
<if test="latitude != null">latitude,</if>
<if test="longitude != null">longitude,</if>
<if test="addressName != null">address_name,</if>
<if test="addressInfo != null">address_info,</if>
<if test="info != null and info != ''">info,</if>
<if test="info != null">info,</if>
<if test="isDefault != null">is_default,</if>
<if test="deletedAt != null">deleted_at,</if>
created_at,
updated_at
</trim>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null">#{uid},</if>
<if test="name != null and name != ''">#{name},</if>
<if test="phone != null and phone != ''">#{phone},</if>
<if test="latitude != null and latitude != ''">#{latitude},</if>
<if test="longitude != null and longitude != ''">#{longitude},</if>
<if test="name != null">#{name},</if>
<if test="phone != null">#{phone},</if>
<if test="latitude != null">#{latitude},</if>
<if test="longitude != null">#{longitude},</if>
<if test="addressName != null">#{addressName},</if>
<if test="addressInfo != null">#{addressInfo},</if>
<if test="info != null and info != ''">#{info},</if>
<if test="info != null">#{info},</if>
<if test="isDefault != null">#{isDefault},</if>
<if test="deletedAt != null">#{deletedAt},</if>
NOW(),
NOW()
</trim>
</trim>
</insert>
<update id="updateUserAddress" parameterType="UserAddress">

View File

@ -129,8 +129,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="loginStatus != null">login_status,</if>
<if test="isStop != null">is_stop,</if>
<if test="middleAuth != null">middle_auth,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null and name != ''">#{name},</if>
@ -160,8 +160,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="loginStatus != null">#{loginStatus},</if>
<if test="isStop != null">#{isStop},</if>
<if test="middleAuth != null">#{middleAuth},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -195,8 +195,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="loginStatus != null">login_status = #{loginStatus},</if>
<if test="isStop != null">is_stop = #{isStop},</if>
<if test="middleAuth != null">middle_auth = #{middleAuth},</if>
updated_at = NOW(),
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
</trim>
where id = #{id}
</update>

View File

@ -54,8 +54,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="paid != null">paid,</if>
<if test="payTime != null">pay_time,</if>
<if test="time != null">time,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null">#{uid},</if>
@ -67,8 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="paid != null">#{paid},</if>
<if test="payTime != null">#{payTime},</if>
<if test="time != null">#{time},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW()
</trim>
</insert>
@ -84,8 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="paid != null">paid = #{paid},</if>
<if test="payTime != null">pay_time = #{payTime},</if>
<if test="time != null">time = #{time},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -86,8 +86,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="remarks != null">remarks,</if>
<if test="cityPid != null">city_pid,</if>
<if test="cityIds != null">city_ids,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at,
<if test="deletedAt != null">deleted_at,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@ -109,8 +109,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="remarks != null">#{remarks},</if>
<if test="cityPid != null">#{cityPid},</if>
<if test="cityIds != null">#{cityIds},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW(),
<if test="deletedAt != null">#{deletedAt},</if>
</trim>
</insert>
@ -136,8 +136,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="remarks != null">remarks = #{remarks},</if>
<if test="cityPid != null">city_pid = #{cityPid},</if>
<if test="cityIds != null">city_ids = #{cityIds},</if>
updated_at = NOW(),
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
</trim>
where id = #{id}

View File

@ -51,9 +51,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="ar != null">ar,</if>
<if test="price != null">price,</if>
<if test="time != null">time,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
</trim>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null">#{uid},</if>
<if test="levelId != null">#{levelId},</if>
@ -62,9 +62,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="ar != null">#{ar},</if>
<if test="price != null">#{price},</if>
<if test="time != null">#{time},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
</trim>
NOW(),
NOW()
</trim>
</insert>
<update id="updateWorkerLevelLog" parameterType="WorkerLevelLog">
@ -77,8 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="ar != null">ar = #{ar},</if>
<if test="price != null">price = #{price},</if>
<if test="time != null">time = #{time},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -59,8 +59,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bgImage != null">bg_image,</if>
<if test="color != null">color,</if>
<if test="userBgimg != null">user_bgimg,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
created_at,
updated_at,
<if test="deletedAt != null">deleted_at,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@ -73,8 +73,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bgImage != null">#{bgImage},</if>
<if test="color != null">#{color},</if>
<if test="userBgimg != null">#{userBgimg},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
NOW(),
NOW(),
<if test="deletedAt != null">#{deletedAt},</if>
</trim>
</insert>
@ -91,8 +91,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bgImage != null">bg_image = #{bgImage},</if>
<if test="color != null">color = #{color},</if>
<if test="userBgimg != null">user_bgimg = #{userBgimg},</if>
updated_at = NOW(),
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
</trim>
where id = #{id}

View File

@ -42,17 +42,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="oid != null">oid,</if>
<if test="orderId != null and orderId != ''">order_id,</if>
<if test="price != null">price,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
</trim>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null">#{uid},</if>
<if test="oid != null">#{oid},</if>
<if test="orderId != null and orderId != ''">#{orderId},</if>
<if test="price != null">#{price},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
</trim>
NOW(),
NOW()
</trim>
</insert>
<update id="updateWorkerMarginLog" parameterType="WorkerMarginLog">
@ -62,8 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="oid != null">oid = #{oid},</if>
<if test="orderId != null and orderId != ''">order_id = #{orderId},</if>
<if test="price != null">price = #{price},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -58,9 +58,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cr != null">cr,</if>
<if test="mergin != null">mergin,</if>
<if test="doorPrice != null">door_price,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
</trim>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="workerId != null">#{workerId},</if>
<if test="oid != null">#{oid},</if>
@ -72,9 +72,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cr != null">#{cr},</if>
<if test="mergin != null">#{mergin},</if>
<if test="doorPrice != null">#{doorPrice},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
</trim>
NOW(),
NOW()
</trim>
</insert>
<update id="updateWorkerMoneyLog" parameterType="WorkerMoneyLog">
@ -90,8 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cr != null">cr = #{cr},</if>
<if test="mergin != null">mergin = #{mergin},</if>
<if test="doorPrice != null">door_price = #{doorPrice},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>

View File

@ -36,15 +36,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="uid != null and uid != ''">uid,</if>
<if test="time != null">time,</if>
<if test="createdAt != null">created_at,</if>
<if test="updatedAt != null">updated_at,</if>
</trim>
created_at,
updated_at
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="uid != null and uid != ''">#{uid},</if>
<if test="time != null">#{time},</if>
<if test="createdAt != null">#{createdAt},</if>
<if test="updatedAt != null">#{updatedAt},</if>
</trim>
NOW(),
NOW()
</trim>
</insert>
<update id="updateWorkerSign" parameterType="WorkerSign">
@ -52,8 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="uid != null and uid != ''">uid = #{uid},</if>
<if test="time != null">time = #{time},</if>
<if test="createdAt != null">created_at = #{createdAt},</if>
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
updated_at = NOW()
</trim>
where id = #{id}
</update>