|
@@ -557,6 +557,9 @@
|
|
|
select lr.* from lawenforcement_record lr
|
|
|
left join lawenforcement_person lp on lr.id = lp.record_id
|
|
|
<where>
|
|
|
+ <if test="jobName != null and jobName != ''">
|
|
|
+ and job_name = #{jobName}
|
|
|
+ </if>
|
|
|
<if test="creatorId != null and creatorId !=''">
|
|
|
and lp.person_id = #{creatorId}
|
|
|
</if>
|