银行卡绑定通过判断是否要更新师傅状态
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">
|
<!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">
|
<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="workerBankId" column="worker_bank_id"/>
|
||||||
<result property="workerId" column="worker_id"/>
|
<result property="workerId" column="worker_id"/>
|
||||||
<result property="name" column="name"/>
|
<result property="name" column="name"/>
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="getByWorkerId" parameterType="Long" resultMap="WorkerTeamResult">
|
<select id="getByWorkerId" parameterType="Long" resultMap="WorkerBankResult">
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM worker_bank
|
FROM worker_bank
|
||||||
<where>
|
<where>
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getByWorkerIds">
|
<select id="getByWorkerIds" resultMap="WorkerBankResult">
|
||||||
SELECT * FROM worker_bank
|
SELECT * FROM worker_bank
|
||||||
WHERE worker_id in ( #{ids} )
|
WHERE worker_id in ( #{ids} )
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue