@@ -17,4 +21,6 @@ public interface AppUserPositionTempMapper extends Mapper<AppUserPositionTemp> {
@Insert("INSERT IGNORE INTO `app_user_position_temp`(`user_id`,`phone`,`name`,`position_id`,`crt_time`)VALUES(#{userId},#{phone},#{name},#{positionId},#{crtTime})")
select crt_time,no,type,order_amount,real_amount,realname,username,parentRealname,positionName,parentUsername,companyName,pay_way,company_id from order_user_position_company
<where>
<iftest="startDate != null">
crt_time <![CDATA[>=]]> #{startDate}
</if>
<iftest="endDate != null">
crt_time <![CDATA[<=]]> #{endDate}
</if>
<iftest="paymentMethod !=null">
pay_way = #{paymentMethod}
</if>
<iftest="jurisdiction != null and jurisdiction.size() !=0 ">