Quellcode durchsuchen

分账问题修复

liuj vor 7 Monaten
Ursprung
Commit
cf173773bb

+ 1 - 1
src/main/java/com/sunxung/factoring/service/ledger/impl/LedgerManagementServiceImpl.java

@@ -491,7 +491,7 @@ public class LedgerManagementServiceImpl implements LedgerManagementService {
         OaOtherPaymentTradeVo oaOtherPaymentTradeVo = new OaOtherPaymentTradeVo();
         User user = null;
         if (supplierInfoId != null) {
-            SupplierInfo supplierInfo = supplierInfoService.getById(supplierInfoId);
+            SupplierInfo supplierInfo = supplierInfoService.get(supplierInfoId);
             if (supplierInfo != null) {
                 UserDO userDO = cUserService.getById(supplierInfo.getSysUserId());
                 if (userDO != null) {

+ 3 - 2
src/main/resources/mapper/financing/apply/CFinancingBasicInfoMapper.xml

@@ -76,8 +76,8 @@
                  LEFT JOIN trading_platform t6 ON t1.trading_platform_id = t6.id
                  LEFT JOIN t_dictionary t7 ON t1.current_stage = t7.code
                  LEFT JOIN t_dictionary t8 ON t1.financing_status = t8.code
-                LEFT JOIN c_supplier_info t10 ON t1.supplier_id = t10.c_enterprise_id
-                LEFT JOIN c_sys_user t11 ON t10.sys_user_id = t11.id
+                 LEFT JOIN c_supplier_info t10 ON t1.supplier_id = t10.c_enterprise_id
+                 LEFT JOIN c_sys_user t11 ON t10.sys_user_id = t11.id
         <where>
             <if test="userIds != null and userIds.size()>0">
                 AND t11.project_manager IN
@@ -96,5 +96,6 @@
                 AND t1.financing_status = #{status}
             </if>
         </where>
+        ORDER BY t1.gmt_modified DESC
     </select>
 </mapper>