16 changed files with 894 additions and 167 deletions
			
			
		@ -0,0 +1,48 @@ | 
				
			|||
package com.epmet.commons.tools.enums; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 五大图层字典表,placeType枚举 | 
				
			|||
 */ | 
				
			|||
public enum CoveragePlaceTypeEnum { | 
				
			|||
 | 
				
			|||
    SUPERIOR_RESOURCE("superior_resource", "优势资源"), | 
				
			|||
    DANGEROUS_CHEMICALS("dangerous_chemicals", "重点危化企业"), | 
				
			|||
    ENTERPRISE_PATROL("enterprise_patrol", "企事业单位巡查"), | 
				
			|||
    SPECIAL_RESI("special_resi", "特殊人群"), | 
				
			|||
    CITY_MANAGEMENT("city_management", "城市管理"), | 
				
			|||
    COMMUNITY_ORG("community_org", "社区自组织"), | 
				
			|||
    PUBLIC_SERVICE("public_service", "公共服务"), | 
				
			|||
    RESI("resi", "居民"), | 
				
			|||
    PARTY_UNIT("party_unit", "联建单位"), | 
				
			|||
    GROUP_RENT("group_rent", "群租房"), | 
				
			|||
    EVENT("event", "事件(包括难点堵点)"); | 
				
			|||
 | 
				
			|||
    private final String code; | 
				
			|||
    private final String name; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    CoveragePlaceTypeEnum(String code, String name) { | 
				
			|||
        this.code = code; | 
				
			|||
        this.name = name; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    public static CoveragePlaceTypeEnum getEnum(String code) { | 
				
			|||
        CoveragePlaceTypeEnum[] values = CoveragePlaceTypeEnum.values(); | 
				
			|||
        for (CoveragePlaceTypeEnum value : values) { | 
				
			|||
            if (value.getCode().equals(code)) { | 
				
			|||
                return value; | 
				
			|||
            } | 
				
			|||
        } | 
				
			|||
        return null; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    public String getCode() { | 
				
			|||
        return code; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    public String getName() { | 
				
			|||
        return name; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,111 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; | 
				
			|||
import lombok.Data; | 
				
			|||
import org.hibernate.validator.constraints.Length; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
@Data | 
				
			|||
public class EnterpriseFormDTO implements Serializable { | 
				
			|||
    public interface AddShow extends CustomerClientShowGroup {} | 
				
			|||
    // public interface UpdateShow extends CustomerClientShowGroup {}
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     * token赋值 | 
				
			|||
     */ | 
				
			|||
    private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格Id【场所区域】 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "场所区域不能为空", groups = {AddShow.class}) | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格所属的组织Id | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "所属组织不能为空", groups = {AddShow.class}) | 
				
			|||
    private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * agency_id的所有上级 | 
				
			|||
     * 接口内查询 | 
				
			|||
     */ | 
				
			|||
    private String agencyPids; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所类型:来源于ic_coverage_category_dict | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "场所类型不能为空", groups = {AddShow.class}) | 
				
			|||
    private String placeType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所名称 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "场所名称不能为空", groups = {AddShow.class}) | 
				
			|||
    @Length(max = 50, message = "场所名称最多输入50字", groups = {AddShow.class}) | 
				
			|||
    private String placeOrgName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所地址 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "场所地址不能为空", groups = {AddShow.class}) | 
				
			|||
    private String address; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 经度 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "位置坐标不能为空", groups = {AddShow.class}) | 
				
			|||
    private String longitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 纬度 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "位置坐标不能为空", groups = {AddShow.class}) | 
				
			|||
    private String latitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 字典value,场所规模【 | 
				
			|||
     0:10人以下 | 
				
			|||
     1:10-20人 | 
				
			|||
     2:21-40人 | 
				
			|||
     3:41-100人 | 
				
			|||
     4:100人以上】 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "规模不能为空", groups = {AddShow.class}) | 
				
			|||
    private String scale; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所负责人 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "负责人不能为空", groups = {AddShow.class}) | 
				
			|||
    private String personInCharge; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 负责人电话 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "联系电话不能为空", groups = {AddShow.class}) | 
				
			|||
    @Length(max = 50, message = "联系电话最多输入50位", groups = {AddShow.class}) | 
				
			|||
    private String mobile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 企事业单位id | 
				
			|||
     */ | 
				
			|||
    private String enterpriseId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 来源【新增:add 导入:import 】 | 
				
			|||
     * 接口内复制 | 
				
			|||
     */ | 
				
			|||
    private String sourceType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 最新巡查结果【0:合格 1:不合格】 | 
				
			|||
     * 默认为空 | 
				
			|||
     */ | 
				
			|||
    private String latestResult; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,83 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; | 
				
			|||
import com.fasterxml.jackson.annotation.JsonFormat; | 
				
			|||
import lombok.Data; | 
				
			|||
import org.hibernate.validator.constraints.Length; | 
				
			|||
import org.springframework.format.annotation.DateTimeFormat; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.Date; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
@Data | 
				
			|||
public class EnterprisePatrolFormDTO implements Serializable { | 
				
			|||
    public interface AddShow extends CustomerClientShowGroup {} | 
				
			|||
    // public interface UpdateShow extends CustomerClientShowGroup {}
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     */ | 
				
			|||
    private String customerId; | 
				
			|||
 | 
				
			|||
    //修改时必填
 | 
				
			|||
    private String patrolId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 企事业单位id | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "企事业单位id不能为空", groups = {AddShow.class}) | 
				
			|||
    private String enterpriseId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查时间 | 
				
			|||
     */ | 
				
			|||
    @DateTimeFormat(pattern = "yyyy-MM-dd") | 
				
			|||
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			|||
    private Date patrolTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员id | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "巡查人员id不能为空", groups = {AddShow.class}) | 
				
			|||
    private String staffId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员姓名 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "巡查人员姓名不能为空", groups = {AddShow.class}) | 
				
			|||
    private String staffName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员手机号 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "联系电话不能为空", groups = {AddShow.class}) | 
				
			|||
    private String mobile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 检查结果【0:合格 1:不合格】 | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "检查结果不能为空", groups = {AddShow.class}) | 
				
			|||
    private String result; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 隐患明细 | 
				
			|||
     */ | 
				
			|||
    @Length(max = 50, message = "隐患明细500字以内", groups = {AddShow.class}) | 
				
			|||
    private String detailed; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 拟复查时间 | 
				
			|||
     */ | 
				
			|||
    @DateTimeFormat(pattern = "yyyy-MM-dd") | 
				
			|||
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			|||
    private Date reviewTime; | 
				
			|||
     | 
				
			|||
    /** | 
				
			|||
     * 图片列表 | 
				
			|||
     */ | 
				
			|||
    private List<String> imgList; | 
				
			|||
 | 
				
			|||
    //tokenDto.getUserId
 | 
				
			|||
    private String userId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,98 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 场所详情 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class EnterpriseDetailDTO implements Serializable { | 
				
			|||
    private String enterpriseId; | 
				
			|||
    /** | 
				
			|||
     * 网格Id【场所区域】 | 
				
			|||
     */ | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    private String gridName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格所属的组织Id | 
				
			|||
     */ | 
				
			|||
    private String agencyId; | 
				
			|||
 | 
				
			|||
    private String agencyName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * agency_id的所有上级 | 
				
			|||
     */ | 
				
			|||
    private String agencyPids; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所类型:来源于ic_coverage_category_dict | 
				
			|||
     */ | 
				
			|||
    private String placeType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所类型名称 | 
				
			|||
     */ | 
				
			|||
    private String placeTypeName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所名称 | 
				
			|||
     */ | 
				
			|||
    private String placeOrgName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所地址 | 
				
			|||
     */ | 
				
			|||
    private String address; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 经度 | 
				
			|||
     */ | 
				
			|||
    private String longitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 纬度 | 
				
			|||
     */ | 
				
			|||
    private String latitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 字典value,场所规模【 | 
				
			|||
     0:10人以下 | 
				
			|||
     1:10-20人 | 
				
			|||
     2:21-40人 | 
				
			|||
     3:41-100人 | 
				
			|||
     4:100人以上】 | 
				
			|||
     */ | 
				
			|||
    private String scale; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 规模名称 | 
				
			|||
     */ | 
				
			|||
    private String scaleName; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 场所负责人 | 
				
			|||
     */ | 
				
			|||
    private String personInCharge; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 负责人电话 | 
				
			|||
     */ | 
				
			|||
    private String mobile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 来源【新增:add 导入:import 】 | 
				
			|||
     */ | 
				
			|||
    private String sourceType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 最新巡查结果【0:合格 1:不合格】 | 
				
			|||
     */ | 
				
			|||
    private String latestResult; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,63 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
import com.fasterxml.jackson.annotation.JsonFormat; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.Date; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
@Data | 
				
			|||
public class EnterprisePatrolResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    //修改时必填
 | 
				
			|||
    private String patrolId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 企事业单位id | 
				
			|||
     */ | 
				
			|||
    private String enterpriseId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查时间 | 
				
			|||
     */ | 
				
			|||
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			|||
    private Date patrolTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员id | 
				
			|||
     */ | 
				
			|||
    private String staffId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员姓名 | 
				
			|||
     */ | 
				
			|||
    private String staffName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员手机号 | 
				
			|||
     */ | 
				
			|||
    private String mobile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 检查结果【0:合格 1:不合格】 | 
				
			|||
     */ | 
				
			|||
    private String result; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 隐患明细 | 
				
			|||
     */ | 
				
			|||
    private String detailed; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 拟复查时间 | 
				
			|||
     */ | 
				
			|||
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			|||
    private Date reviewTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 图片列表 | 
				
			|||
     */ | 
				
			|||
    private List<String> imgList; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,32 @@ | 
				
			|||
package com.epmet.dao; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			|||
import com.epmet.entity.IcEnterprisePatrolAttachmentEntity; | 
				
			|||
import org.apache.ibatis.annotations.Mapper; | 
				
			|||
import org.apache.ibatis.annotations.Param; | 
				
			|||
 | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 企事业单位巡查附件表(目前只上传图片) | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2022-06-20 | 
				
			|||
 */ | 
				
			|||
@Mapper | 
				
			|||
public interface IcEnterprisePatrolAttachmentDao extends BaseDao<IcEnterprisePatrolAttachmentEntity> { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 删除巡查及路的图片 | 
				
			|||
     * @param patrolId | 
				
			|||
     * @return | 
				
			|||
     */ | 
				
			|||
    int deleteByPatrolId(@Param("patrolId") String patrolId, @Param("staffId") String staffId); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查记录图片 | 
				
			|||
     * @param patrolId | 
				
			|||
     * @return | 
				
			|||
     */ | 
				
			|||
    List<String> selectAtt(String patrolId); | 
				
			|||
} | 
				
			|||
@ -0,0 +1,80 @@ | 
				
			|||
package com.epmet.entity; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.annotation.TableName; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			|||
import lombok.Data; | 
				
			|||
import lombok.EqualsAndHashCode; | 
				
			|||
 | 
				
			|||
import java.util.Date; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 企事业单位巡查附件表(目前只上传图片) | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2022-06-20 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
@EqualsAndHashCode(callSuper=false) | 
				
			|||
@TableName("ic_enterprise_patrol_attachment") | 
				
			|||
public class IcEnterprisePatrolAttachmentEntity extends BaseEpmetEntity { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户ID | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 服务记录id,服务项目id | 
				
			|||
     */ | 
				
			|||
	private String patrolId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 附件名 | 
				
			|||
     */ | 
				
			|||
	private String attachmentName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 文件格式(JPG、PNG、PDF、JPEG、BMP、MP4、WMA、M4A、MP3、DOC、DOCX、XLS) | 
				
			|||
     */ | 
				
			|||
	private String attachmentFormat; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 附件类型((图片 - image、 视频 - video、 语音 - voice、 文档 - doc)) | 
				
			|||
     */ | 
				
			|||
	private String attachmentType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 附件地址 | 
				
			|||
     */ | 
				
			|||
	private String attachmentUrl; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 排序字段 | 
				
			|||
     */ | 
				
			|||
	private Integer sort; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 附件状态(审核中:auditing;  | 
				
			|||
auto_passed: 自动通过; | 
				
			|||
review:结果不确定,需要人工审核; | 
				
			|||
block: 结果违规; | 
				
			|||
rejected:人工审核驳回; | 
				
			|||
approved:人工审核通过) | 
				
			|||
现在图片是同步审核的,所以图片只有auto_passed一种状态 | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 失败原因 | 
				
			|||
     */ | 
				
			|||
	private String reason; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 语音或视频时长,秒 | 
				
			|||
     */ | 
				
			|||
	private Integer duration; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
								
									Binary file not shown.
								
							
						
					@ -0,0 +1,40 @@ | 
				
			|||
<?xml version="1.0" encoding="UTF-8"?> | 
				
			|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 
				
			|||
 | 
				
			|||
<mapper namespace="com.epmet.dao.IcEnterprisePatrolAttachmentDao"> | 
				
			|||
 | 
				
			|||
    <resultMap type="com.epmet.entity.IcEnterprisePatrolAttachmentEntity" id="icEnterprisePatrolAttachmentMap"> | 
				
			|||
        <result property="id" column="ID"/> | 
				
			|||
        <result property="customerId" column="CUSTOMER_ID"/> | 
				
			|||
        <result property="patrolId" column="PATROL_ID"/> | 
				
			|||
        <result property="attachmentName" column="ATTACHMENT_NAME"/> | 
				
			|||
        <result property="attachmentFormat" column="ATTACHMENT_FORMAT"/> | 
				
			|||
        <result property="attachmentType" column="ATTACHMENT_TYPE"/> | 
				
			|||
        <result property="attachmentUrl" column="ATTACHMENT_URL"/> | 
				
			|||
        <result property="sort" column="SORT"/> | 
				
			|||
        <result property="status" column="STATUS"/> | 
				
			|||
        <result property="reason" column="REASON"/> | 
				
			|||
        <result property="duration" column="DURATION"/> | 
				
			|||
        <result property="delFlag" column="DEL_FLAG"/> | 
				
			|||
        <result property="revision" column="REVISION"/> | 
				
			|||
        <result property="createdBy" column="CREATED_BY"/> | 
				
			|||
        <result property="createdTime" column="CREATED_TIME"/> | 
				
			|||
        <result property="updatedBy" column="UPDATED_BY"/> | 
				
			|||
        <result property="updatedTime" column="UPDATED_TIME"/> | 
				
			|||
    </resultMap> | 
				
			|||
 | 
				
			|||
    <update id="deleteByPatrolId" parameterType="java.lang.String"> | 
				
			|||
        update ic_enterprise_patrol_attachment | 
				
			|||
        set del_flag='1', | 
				
			|||
        UPDATED_TIME=now(), | 
				
			|||
        UPDATED_BY={staffId} | 
				
			|||
        where PATROL_ID=#{patrolId} | 
				
			|||
    </update> | 
				
			|||
 | 
				
			|||
    <select id="selectAtt" parameterType="java.lang.String" resultType="java.lang.String"> | 
				
			|||
        select a.ATTACHMENT_URL from ic_enterprise_patrol_attachment a | 
				
			|||
        where a.del_flag='0' | 
				
			|||
        and a.PATROL_ID=#{patrolId} | 
				
			|||
        order by sort asc | 
				
			|||
    </select> | 
				
			|||
</mapper> | 
				
			|||
					Loading…
					
					
				
		Reference in new issue