1
0
Fork 0
management/back/dkha-sz-main/dkha-admin/dkha-admin-server/target/classes/mapper/SysLanguageDao.xml

17 lines
675 B
XML
Raw Normal View History

2023-12-18 13:12:25 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dkha.dao.SysLanguageDao">
<select id="getLanguage" resultType="com.dkha.entity.SysLanguageEntity">
select * from sys_language
where table_name=#{tableName} and table_id=#{tableId} and field_name=#{fieldName} and language=#{language}
</select>
<select id="updateLanguage">
update sys_language set field_value=#{fieldValue}
where table_name=#{tableName} and table_id=#{tableId} and field_name=#{fieldName} and language=#{language}
</select>
</mapper>