少判断条件
This commit is contained in:
parent
000af7f7da
commit
b1dff3834d
|
|
@ -32,6 +32,11 @@
|
||||||
|
|
||||||
<select id="getWorkerList" resultMap="WorkerResult">
|
<select id="getWorkerList" resultMap="WorkerResult">
|
||||||
<include refid="selectWorker" />
|
<include refid="selectWorker" />
|
||||||
|
<where>
|
||||||
|
<if test="openId != null and openId != ''">
|
||||||
|
AND open_id = #{openId}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertWorker" parameterType="com.ghy.worker.domain.Worker" useGeneratedKeys="true" keyProperty="workerId">
|
<insert id="insertWorker" parameterType="com.ghy.worker.domain.Worker" useGeneratedKeys="true" keyProperty="workerId">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue