银行卡绑定通过判断是否要更新师傅状态
This commit is contained in:
parent
db91f57baf
commit
361956cab1
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ghy.worker.mapper.WorkerBankMapper">
|
||||
|
||||
<resultMap id="WorkerTeamResult" type="com.ghy.worker.domain.WorkerBank">
|
||||
<resultMap id="WorkerBankResult" type="com.ghy.worker.domain.WorkerBank">
|
||||
<result property="workerBankId" column="worker_bank_id"/>
|
||||
<result property="workerId" column="worker_id"/>
|
||||
<result property="name" column="name"/>
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
)
|
||||
</insert>
|
||||
|
||||
<select id="getByWorkerId" parameterType="Long" resultMap="WorkerTeamResult">
|
||||
<select id="getByWorkerId" parameterType="Long" resultMap="WorkerBankResult">
|
||||
SELECT *
|
||||
FROM worker_bank
|
||||
<where>
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getByWorkerIds">
|
||||
<select id="getByWorkerIds" resultMap="WorkerBankResult">
|
||||
SELECT * FROM worker_bank
|
||||
WHERE worker_id in ( #{ids} )
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue