Jelajahi Sumber

问题修改:平台定时任务

liweifan 3 tahun lalu
induk
melakukan
6587575429

+ 9 - 9
cooleshow-user/user-biz/src/main/resources/config/mybatis/PlatformCashAccountRecordMapper.xml

@@ -37,31 +37,31 @@
             UPDATE platform_cash_account_record
             <set>
                 <if test="param.accountId">
-    				account_id_ = #{param.accountId}
+    				account_id_ = #{param.accountId},
 	    		</if>
                 <if test="param.transAmount">
-    				trans_amount_ = #{param.transAmount}
+    				trans_amount_ = #{param.transAmount},
 	    		</if>
                 <if test="param.memo">
-    				memo_ = #{param.memo}
+    				memo_ = #{param.memo},
 	    		</if>
                 <if test="param.orderNo">
-    				order_no_ = #{param.orderNo}
+    				order_no_ = #{param.orderNo},
 	    		</if>
 	    		<if test="param.bizId">
-	    			biz_id_ = #{param.bizId}
+	    			biz_id_ = #{param.bizId},
 	    		</if>
 	    		<if test="param.inOrOut">
-	    			in_or_out_ = #{param.inOrOut}
+	    			in_or_out_ = #{param.inOrOut},
 	    		</if>
 	    		<if test="param.bizType">
-	    			biz_type_ = #{param.bizType}
+	    			biz_type_ = #{param.bizType},
 	    		</if>
 	    		<if test="param.postStatus">
-	    			post_status_ = #{param.postStatus}
+	    			post_status_ = #{param.postStatus},
 	    		</if>
 				<if test="param.accountPeriodTime">
-					account_period_time_ = #{param.accountPeriodTime}
+					account_period_time_ = #{param.accountPeriodTime},
 				</if>
                 update_time_ = NOW()
             </set>

+ 3 - 3
cooleshow-user/user-biz/src/main/resources/config/mybatis/UserAccountRecordMapper.xml

@@ -92,7 +92,7 @@
             </if>
             <include refid="selectCondition"/>
         </where>
-        order by t.update_time_ desc
+        order by t.update_time_ desc,t.id_ desc
     </sql>
 
     <select id="selectPage" resultType="com.yonge.cooleshow.biz.dal.vo.UserAccountRecordVo">
@@ -127,7 +127,7 @@
             </if>
             <include refid="selectCondition"/>
         </where>
-        order by t.update_time_ desc
+        order by t.update_time_ desc,t.id_ desc
     </select>
 
 
@@ -260,7 +260,7 @@
             <include refid="selectCondition"/>
         ) t
         left join course_schedule a on t.biz_id_ = a.id_ and t.biz_type_ in ('PRACTICE','LIVE')
-        order by t.update_time_ desc
+        order by t.update_time_ desc,t.id_ desc
     </select>
 
     <select id="selectMonthDecimal" resultType="java.math.BigDecimal">