Beispiel #1
0
 public List<FinanceUnit> getFinanceUnitsByTransitionId(int translationTaskId) {
   return financeUnitMapper.getFinanceUnitsByRelatedIdAndRelatedType(
       translationTaskId, FinanceUnit.TranslationRelated);
 }
Beispiel #2
0
 /**
  * 根据订单id查找其所有账目项
  *
  * @param orderId
  * @return
  */
 public List<FinanceUnit> getFinanceUnitsByOrderId(int orderId) {
   return financeUnitMapper.getFinanceUnitsByRelatedIdAndRelatedType(
       orderId, FinanceUnit.OrderRelated);
 }