|
@@ -13,7 +13,7 @@ import java.util.Map;
|
|
@Mapper
|
|
@Mapper
|
|
public interface SecurityPersonMapper extends BaseMapper<SecurityPerson> {
|
|
public interface SecurityPersonMapper extends BaseMapper<SecurityPerson> {
|
|
@Select("<script>" +
|
|
@Select("<script>" +
|
|
- " SELECT name,work_number,phone,type,duty.scope,duty_start_time,duty_end_time " +
|
|
|
|
|
|
+ " SELECT name,work_number,phone,type,duty.scope,duty_start_time,duty_end_time,photo " +
|
|
"from security_person_duty duty LEFT JOIN security_person person on duty.security_person_id = person.id " +
|
|
"from security_person_duty duty LEFT JOIN security_person person on duty.security_person_id = person.id " +
|
|
"where 1=1 " +
|
|
"where 1=1 " +
|
|
"<if test='personParam!=null and personParam.type!=null'>" +
|
|
"<if test='personParam!=null and personParam.type!=null'>" +
|