bug修改;
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ public class ReconciliationApplicationService {
|
||||
reconciliationPO.setSettlementCurrency(tmsOrder.getSettlementCurrency());
|
||||
}
|
||||
if (reconciliationPO.getSettlementCurrency() != null){
|
||||
String s = tmsReceiptMapper.selectCnName(String.valueOf(reconciliationPO.getSettlementCurrency()));
|
||||
String s = tmsReceiptMapper.selectCnName(String.valueOf(reconciliationPO.getSettlementCurrency()),reconciliationPO.getOrganizationId());
|
||||
reconciliationPO.setSettlementCurrencyName(s);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -20,5 +20,5 @@ public interface TmsReceiptMapper extends BaseMapper<TmsReceipt>
|
||||
*/
|
||||
public List<TmsReceiptPO> queryList(TmsReceiptDO tmsReceiptDO);
|
||||
|
||||
String selectCnName(@Param("settlementCount") String settlementCount);
|
||||
}
|
||||
String selectCnName(@Param("settlementCount") String settlementCount,@Param("organizationId") Long organizationId);
|
||||
}
|
||||
@@ -123,6 +123,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectTmsReceiptPo1"/>
|
||||
</select>
|
||||
<select id="selectCnName" resultType="java.lang.String">
|
||||
select chinese_name from NGWL_TEST_WLHY.TMS_SETTLEMENT_EXCHANGE_RATE where english_name = #{settlementCount} limit 1
|
||||
select chinese_name from NGWL_TEST_WLHY.TMS_SETTLEMENT_EXCHANGE_RATE where english_name = #{settlementCount} and ORGANIZATION_ID = #{organizationId} limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user