恢复查询

This commit is contained in:
zhaoqing
2026-06-18 20:12:38 +08:00
parent aa7315e239
commit e562dcf627
3 changed files with 3 additions and 3 deletions
@@ -209,7 +209,7 @@ public class ReconciliationApplicationService {
reconciliationPO.setSettlementCurrency(tmsOrder.getSettlementCurrency());
}
if (reconciliationPO.getSettlementCurrency() != null){
String s = tmsReceiptMapper.selectCnName(String.valueOf(reconciliationPO.getSettlementCurrency()), reconciliationPO.getOrganizationId());
String s = tmsReceiptMapper.selectCnName(String.valueOf(reconciliationPO.getSettlementCurrency()));
reconciliationPO.setSettlementCurrencyName(s);
}
}
@@ -20,5 +20,5 @@ public interface TmsReceiptMapper extends BaseMapper<TmsReceipt>
*/
public List<TmsReceiptPO> queryList(TmsReceiptDO tmsReceiptDO);
String selectCnName(@Param("settlementCount") String settlementCount, @Param("organizationId") Long organizationId);
String selectCnName(@Param("settlementCount") String settlementCount);
}
@@ -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 IS_DELETE = '0' and ORGANIZATION_ID = #{organizationId} and english_name = #{settlementCount} limit 1
select chinese_name from NGWL_TEST_WLHY.TMS_SETTLEMENT_EXCHANGE_RATE where english_name = #{settlementCount}
</select>
</mapper>