LAPTOP-FO2T5SIU\35838 9 months ago
parent
commit
28b3981c2e

+ 2 - 0
pro-base/src/main/java/com/idea/paymentManagement/service/PayLogService.java

@@ -35,6 +35,7 @@ import com.rockstar.util.StringUtils;
 import org.apache.commons.collections.CollectionUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
 
 import java.math.BigDecimal;
 import java.util.Date;
@@ -124,6 +125,7 @@ public class PayLogService implements BaseService<PayLog, PayLogExample> {
      * @param model
      * @return
      */
+    @Transactional
     public int add(PayLog model) {
 
         String id = IdUtil.simpleUUID();

+ 1 - 1
pro-base/src/main/resources/mybatis/customerManagement/CustomerManagementExtendMapper.xml

@@ -29,6 +29,6 @@
         </foreach>
       </if>
     </where>
-    order by batch_number desc,room_selection_number asc
+    order by batch_number + 0 desc,room_selection_number + 0 asc
   </select>
 </mapper>