You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
878 B
22 lines
878 B
<?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.hisense.hiatmp.server_api.mapper.OperatorMapper"> |
|
|
|
<select id="getOperatorByName" resultType="com.hisense.hiatmp.model.common.Operator"> |
|
select * from operator where cusername = #{cusername} |
|
</select> |
|
|
|
<select id="getOperatorById" resultType="com.hisense.hiatmp.model.common.Operator"> |
|
select * from operator where nuserid = #{nuserid} |
|
</select> |
|
|
|
<select id="getAllOperator" resultType="com.hisense.hiatmp.model.common.Operator"> |
|
select * from operator; |
|
</select> |
|
|
|
<select id="updateByPrimaryKeySelective" resultType="String"> |
|
update operator set cuserpwd = #{cuserpwd} where cusername = #{cusername} RETURNING cusername; |
|
</select> |
|
|
|
</mapper> |