forked from zhurui/management
17 lines
675 B
XML
17 lines
675 B
XML
<?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>
|