202505261822
This commit is contained in:
parent
b09bf4d2bb
commit
a16acd899b
|
|
@ -29,6 +29,7 @@
|
||||||
<if test="content != null and content != ''"> and content = #{content}</if>
|
<if test="content != null and content != ''"> and content = #{content}</if>
|
||||||
<if test="image != null and image != ''"> and image = #{image}</if>
|
<if test="image != null and image != ''"> and image = #{image}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectContentById" parameterType="Long" resultMap="ContentResult">
|
<select id="selectContentById" parameterType="Long" resultMap="ContentResult">
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectCooperateById" parameterType="Long" resultMap="CooperateResult">
|
<select id="selectCooperateById" parameterType="Long" resultMap="CooperateResult">
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@
|
||||||
and count BETWEEN #{countMin} AND #{countMax}
|
and count BETWEEN #{countMin} AND #{countMax}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectCouponsById" parameterType="Long" resultMap="CouponsCouponUserResult">
|
<select id="selectCouponsById" parameterType="Long" resultMap="CouponsCouponUserResult">
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectDiyCityById" parameterType="Integer" resultMap="DiyCityResult">
|
<select id="selectDiyCityById" parameterType="Integer" resultMap="DiyCityResult">
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGoodsCartById" parameterType="Integer" resultMap="GoodsCartResult">
|
<select id="selectGoodsCartById" parameterType="Integer" resultMap="GoodsCartResult">
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGoodsOrderCursorById" parameterType="Long" resultMap="GoodsOrderCursorResult">
|
<select id="selectGoodsOrderCursorById" parameterType="Long" resultMap="GoodsOrderCursorResult">
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="transactionId != null and transactionId != ''"> and transaction_id = #{transactionId}</if>
|
<if test="transactionId != null and transactionId != ''"> and transaction_id = #{transactionId}</if>
|
||||||
<if test="mainOrderId != null and mainOrderId != ''"> and main_order_id = #{mainOrderId}</if>
|
<if test="mainOrderId != null and mainOrderId != ''"> and main_order_id = #{mainOrderId}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGoodsOrderById" parameterType="Long" resultMap="GoodsOrderResult">
|
<select id="selectGoodsOrderById" parameterType="Long" resultMap="GoodsOrderResult">
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIntegralCateById" parameterType="Long" resultMap="IntegralCateResult">
|
<select id="selectIntegralCateById" parameterType="Long" resultMap="IntegralCateResult">
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIntegralLogById" parameterType="Long" resultMap="IntegralLogResult">
|
<select id="selectIntegralLogById" parameterType="Long" resultMap="IntegralLogResult">
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIntegralOrderLogById" parameterType="Long" resultMap="IntegralOrderLogResult">
|
<select id="selectIntegralOrderLogById" parameterType="Long" resultMap="IntegralOrderLogResult">
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIntegralOrderById" parameterType="Long" resultMap="IntegralOrderResult">
|
<select id="selectIntegralOrderById" parameterType="Long" resultMap="IntegralOrderResult">
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIntegralProductById" parameterType="Long" resultMap="IntegralProductResult">
|
<select id="selectIntegralProductById" parameterType="Long" resultMap="IntegralProductResult">
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectMobileMiddleById" parameterType="Long" resultMap="MobileMiddleResult">
|
<select id="selectMobileMiddleById" parameterType="Long" resultMap="MobileMiddleResult">
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectMobileNotifyById" parameterType="Long" resultMap="MobileNotifyResult">
|
<select id="selectMobileNotifyById" parameterType="Long" resultMap="MobileNotifyResult">
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectNotifyOrderById" parameterType="Long" resultMap="NotifyOrderResult">
|
<select id="selectNotifyOrderById" parameterType="Long" resultMap="NotifyOrderResult">
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="duration != null "> and duration = #{duration}</if>
|
<if test="duration != null "> and duration = #{duration}</if>
|
||||||
<if test="recurl != null and recurl != ''"> and recurl = #{recurl}</if>
|
<if test="recurl != null and recurl != ''"> and recurl = #{recurl}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderCallById" parameterType="Integer" resultMap="OrderCallResult">
|
<select id="selectOrderCallById" parameterType="Integer" resultMap="OrderCallResult">
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderCommentById" parameterType="Long" resultMap="OrderCommentResult">
|
<select id="selectOrderCommentById" parameterType="Long" resultMap="OrderCommentResult">
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderLogById" parameterType="Long" resultMap="OrderLogResult">
|
<select id="selectOrderLogById" parameterType="Long" resultMap="OrderLogResult">
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderReworkById" parameterType="Long" resultMap="OrderReworkResult">
|
<select id="selectOrderReworkById" parameterType="Long" resultMap="OrderReworkResult">
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="isMerge != null "> and is_merge = #{isMerge}</if>
|
<if test="isMerge != null "> and is_merge = #{isMerge}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderSoundLogById" parameterType="Integer" resultMap="OrderSoundLogResult">
|
<select id="selectOrderSoundLogById" parameterType="Integer" resultMap="OrderSoundLogResult">
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="workerUid != null "> and worker_uid = #{workerUid}</if>
|
<if test="workerUid != null "> and worker_uid = #{workerUid}</if>
|
||||||
|
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderSoundById" parameterType="Integer" resultMap="OrderSoundResult">
|
<select id="selectOrderSoundById" parameterType="Integer" resultMap="OrderSoundResult">
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="mark != null and mark != ''"> and mark = #{mark}</if>
|
<if test="mark != null and mark != ''"> and mark = #{mark}</if>
|
||||||
<if test="payTime != null "> and pay_time = #{payTime}</if>
|
<if test="payTime != null "> and pay_time = #{payTime}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectPayMoneyLogById" parameterType="Long" resultMap="PayMoneyLogResult">
|
<select id="selectPayMoneyLogById" parameterType="Long" resultMap="PayMoneyLogResult">
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="title != null and title != ''"> and title like concat('%',#{title},'%')</if>
|
<if test="title != null and title != ''"> and title like concat('%',#{title},'%')</if>
|
||||||
|
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
<select id="selectServiceCateById" parameterType="Long" resultMap="ServiceCateResult">
|
<select id="selectServiceCateById" parameterType="Long" resultMap="ServiceCateResult">
|
||||||
<include refid="selectServiceCateVo"/>
|
<include refid="selectServiceCateVo"/>
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="type != null "> and type = #{type}</if>
|
<if test="type != null "> and type = #{type}</if>
|
||||||
|
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectTitlesByIds" parameterType="list" resultType="string">
|
<select id="selectTitlesByIds" parameterType="list" resultType="string">
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectSiteDeliveryById" parameterType="Long" resultMap="SiteDeliveryResult">
|
<select id="selectSiteDeliveryById" parameterType="Long" resultMap="SiteDeliveryResult">
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectSiteSkillById" parameterType="Long" resultMap="SiteSkillResult">
|
<select id="selectSiteSkillById" parameterType="Long" resultMap="SiteSkillResult">
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND create_by like concat('%', #{createBy}, '%')
|
AND create_by like concat('%', #{createBy}, '%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertNotice" parameterType="SysNotice">
|
<insert id="insertNotice" parameterType="SysNotice">
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectUserAddressById" parameterType="Long" resultMap="UserAddressResult">
|
<select id="selectUserAddressById" parameterType="Long" resultMap="UserAddressResult">
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="params.beginPayTime != null and params.beginPayTime != '' and params.endPayTime != null and params.endPayTime != ''"> and pay_time between #{params.beginPayTime} and #{params.endPayTime}</if>
|
<if test="params.beginPayTime != null and params.beginPayTime != '' and params.endPayTime != null and params.endPayTime != ''"> and pay_time between #{params.beginPayTime} and #{params.endPayTime}</if>
|
||||||
<if test="params.beginTime != null and params.beginTime != '' and params.endTime != null and params.endTime != ''"> and time between #{params.beginTime} and #{params.endTime}</if>
|
<if test="params.beginTime != null and params.beginTime != '' and params.endTime != null and params.endTime != ''"> and time between #{params.beginTime} and #{params.endTime}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWechatTransferById" parameterType="Long" resultMap="WechatTransferResult">
|
<select id="selectWechatTransferById" parameterType="Long" resultMap="WechatTransferResult">
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerApplyById" parameterType="Long" resultMap="WorkerApplyResult">
|
<select id="selectWorkerApplyById" parameterType="Long" resultMap="WorkerApplyResult">
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerLevelLogById" parameterType="Integer" resultMap="WorkerLevelLogResult">
|
<select id="selectWorkerLevelLogById" parameterType="Integer" resultMap="WorkerLevelLogResult">
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerLevelById" parameterType="Long" resultMap="WorkerLevelResult">
|
<select id="selectWorkerLevelById" parameterType="Long" resultMap="WorkerLevelResult">
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerMarginLogById" parameterType="Integer" resultMap="WorkerMarginLogResult">
|
<select id="selectWorkerMarginLogById" parameterType="Integer" resultMap="WorkerMarginLogResult">
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="mergin != null "> and mergin = #{mergin}</if>
|
<if test="mergin != null "> and mergin = #{mergin}</if>
|
||||||
<if test="doorPrice != null "> and door_price = #{doorPrice}</if>
|
<if test="doorPrice != null "> and door_price = #{doorPrice}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerMoneyLogById" parameterType="Integer" resultMap="WorkerMoneyLogResult">
|
<select id="selectWorkerMoneyLogById" parameterType="Integer" resultMap="WorkerMoneyLogResult">
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWorkerSignById" parameterType="Long" resultMap="WorkerSignResult">
|
<select id="selectWorkerSignById" parameterType="Long" resultMap="WorkerSignResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue