Explorar o código

fix 社情民意

Administrator hai 1 ano
pai
achega
acecf65fbc

+ 103 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/sqmy/SqmyInfoController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.web.controller.sqmy;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.system.domain.sqmy.SqmyInfo;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.service.ISqmyInfoService;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 社情民意信息Controller
+ *
+ * @author boman
+ * @date 2024-03-14
+ */
+@RestController
+@RequestMapping("/sqmyInfo/info")
+public class SqmyInfoController extends BaseController
+{
+    @Autowired
+    private ISqmyInfoService sqmyInfoService;
+
+/**
+ * 查询社情民意信息列表
+ */
+@PreAuthorize("@ss.hasPermi('sqmyInfo:info:list')")
+@GetMapping("/list")
+    public TableDataInfo list(SqmyInfo sqmyInfo)
+    {
+        startPage();
+        List<SqmyInfo> list = sqmyInfoService.selectSqmyInfoList(sqmyInfo);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出社情民意信息列表
+     */
+    @PreAuthorize("@ss.hasPermi('sqmyInfo:info:export')")
+    @Log(title = "社情民意信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, SqmyInfo sqmyInfo)
+    {
+        List<SqmyInfo> list = sqmyInfoService.selectSqmyInfoList(sqmyInfo);
+        ExcelUtil<SqmyInfo> util = new ExcelUtil<SqmyInfo>(SqmyInfo.class);
+        util.exportExcel(response, list, "社情民意信息数据");
+    }
+
+    /**
+     * 获取社情民意信息详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('sqmyInfo:info:query')")
+    @GetMapping(value = "/{sqmyId}")
+    public AjaxResult getInfo(@PathVariable("sqmyId") Long sqmyId)
+    {
+        return success(sqmyInfoService.selectSqmyInfoBySqmyId(sqmyId));
+    }
+
+    /**
+     * 新增社情民意信息
+     */
+    @PreAuthorize("@ss.hasPermi('sqmyInfo:info:add')")
+    @Log(title = "社情民意信息", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody SqmyInfo sqmyInfo)
+    {
+        return toAjax(sqmyInfoService.insertSqmyInfo(sqmyInfo));
+    }
+
+    /**
+     * 修改社情民意信息
+     */
+    @PreAuthorize("@ss.hasPermi('sqmyInfo:info:edit')")
+    @Log(title = "社情民意信息", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody SqmyInfo sqmyInfo)
+    {
+        return toAjax(sqmyInfoService.updateSqmyInfo(sqmyInfo));
+    }
+
+    /**
+     * 删除社情民意信息
+     */
+    @PreAuthorize("@ss.hasPermi('sqmyInfo:info:remove')")
+    @Log(title = "社情民意信息", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{sqmyIds}")
+    public AjaxResult remove(@PathVariable Long[] sqmyIds)
+    {
+        return toAjax(sqmyInfoService.deleteSqmyInfoBySqmyIds(sqmyIds));
+    }
+}

+ 196 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/sqmy/SqmyInfo.java

@@ -0,0 +1,196 @@
+package com.ruoyi.system.domain.sqmy;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 社情民意信息对象 sqmy_info
+ * 
+ * @author boman
+ * @date 2024-03-14
+ */
+public class SqmyInfo extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 社情民意ID */
+    private Long sqmyId;
+
+    /** 上报人ID */
+    @Excel(name = "上报人ID")
+    private Long sqmyUserId;
+
+    /** 信息标题 */
+    @Excel(name = "信息标题")
+    private String title;
+
+    /** 主题类型 */
+    @Excel(name = "主题类型")
+    private String titleType;
+
+    /** 提案内容 */
+    @Excel(name = "提案内容")
+    private String proposalContent;
+
+    /** 联系人姓名 */
+    @Excel(name = "联系人姓名")
+    private String contactName;
+
+    /** 联系人手机号码 */
+    @Excel(name = "联系人手机号码")
+    private String contactPhone;
+
+    /** 上报者姓名 */
+    @Excel(name = "上报者姓名")
+    private String sqmyName;
+
+    /** 上报者手机号码 */
+    @Excel(name = "上报者手机号码")
+    private String sqmyPhone;
+
+    /** 工作单位及职务 */
+    @Excel(name = "工作单位及职务")
+    private String unit;
+
+    /** 同意公开(0是 1否) */
+    @Excel(name = "同意公开", readConverterExp = "0=是,1=否")
+    private String isPublicity;
+
+    /** 是否涉密(0是 1否) */
+    @Excel(name = "是否涉密", readConverterExp = "0=是,1=否")
+    private String isSecret;
+
+    public void setSqmyId(Long sqmyId) 
+    {
+        this.sqmyId = sqmyId;
+    }
+
+    public Long getSqmyId() 
+    {
+        return sqmyId;
+    }
+    public void setSqmyUserId(Long sqmyUserId) 
+    {
+        this.sqmyUserId = sqmyUserId;
+    }
+
+    public Long getSqmyUserId() 
+    {
+        return sqmyUserId;
+    }
+    public void setTitle(String title) 
+    {
+        this.title = title;
+    }
+
+    public String getTitle() 
+    {
+        return title;
+    }
+    public void setTitleType(String titleType) 
+    {
+        this.titleType = titleType;
+    }
+
+    public String getTitleType() 
+    {
+        return titleType;
+    }
+    public void setProposalContent(String proposalContent) 
+    {
+        this.proposalContent = proposalContent;
+    }
+
+    public String getProposalContent() 
+    {
+        return proposalContent;
+    }
+    public void setContactName(String contactName) 
+    {
+        this.contactName = contactName;
+    }
+
+    public String getContactName() 
+    {
+        return contactName;
+    }
+    public void setContactPhone(String contactPhone) 
+    {
+        this.contactPhone = contactPhone;
+    }
+
+    public String getContactPhone() 
+    {
+        return contactPhone;
+    }
+    public void setSqmyName(String sqmyName) 
+    {
+        this.sqmyName = sqmyName;
+    }
+
+    public String getSqmyName() 
+    {
+        return sqmyName;
+    }
+    public void setSqmyPhone(String sqmyPhone) 
+    {
+        this.sqmyPhone = sqmyPhone;
+    }
+
+    public String getSqmyPhone() 
+    {
+        return sqmyPhone;
+    }
+    public void setUnit(String unit) 
+    {
+        this.unit = unit;
+    }
+
+    public String getUnit() 
+    {
+        return unit;
+    }
+    public void setIsPublicity(String isPublicity) 
+    {
+        this.isPublicity = isPublicity;
+    }
+
+    public String getIsPublicity() 
+    {
+        return isPublicity;
+    }
+    public void setIsSecret(String isSecret) 
+    {
+        this.isSecret = isSecret;
+    }
+
+    public String getIsSecret() 
+    {
+        return isSecret;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("sqmyId", getSqmyId())
+            .append("sqmyUserId", getSqmyUserId())
+            .append("title", getTitle())
+            .append("titleType", getTitleType())
+            .append("proposalContent", getProposalContent())
+            .append("contactName", getContactName())
+            .append("contactPhone", getContactPhone())
+            .append("sqmyName", getSqmyName())
+            .append("sqmyPhone", getSqmyPhone())
+            .append("unit", getUnit())
+            .append("isPublicity", getIsPublicity())
+            .append("isSecret", getIsSecret())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SqmyInfoMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.system.mapper;
+
+import com.ruoyi.system.domain.sqmy.SqmyInfo;
+
+import java.util.List;
+
+/**
+ * 社情民意信息Mapper接口
+ * 
+ * @author boman
+ * @date 2024-03-14
+ */
+public interface SqmyInfoMapper 
+{
+    /**
+     * 查询社情民意信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 社情民意信息
+     */
+    public SqmyInfo selectSqmyInfoBySqmyId(Long sqmyId);
+
+    /**
+     * 查询社情民意信息列表
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 社情民意信息集合
+     */
+    public List<SqmyInfo> selectSqmyInfoList(SqmyInfo sqmyInfo);
+
+    /**
+     * 新增社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    public int insertSqmyInfo(SqmyInfo sqmyInfo);
+
+    /**
+     * 修改社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    public int updateSqmyInfo(SqmyInfo sqmyInfo);
+
+    /**
+     * 删除社情民意信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 结果
+     */
+    public int deleteSqmyInfoBySqmyId(Long sqmyId);
+
+    /**
+     * 批量删除社情民意信息
+     * 
+     * @param sqmyIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteSqmyInfoBySqmyIds(Long[] sqmyIds);
+}

+ 63 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/ISqmyInfoService.java

@@ -0,0 +1,63 @@
+package com.ruoyi.system.service;
+
+import com.ruoyi.system.domain.sqmy.SqmyInfo;
+
+import java.util.List;
+
+
+/**
+ * 社情民意信息Service接口
+ * 
+ * @author boman
+ * @date 2024-03-14
+ */
+public interface ISqmyInfoService 
+{
+    /**
+     * 查询社情民意信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 社情民意信息
+     */
+    public SqmyInfo selectSqmyInfoBySqmyId(Long sqmyId);
+
+    /**
+     * 查询社情民意信息列表
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 社情民意信息集合
+     */
+    public List<SqmyInfo> selectSqmyInfoList(SqmyInfo sqmyInfo);
+
+    /**
+     * 新增社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    public int insertSqmyInfo(SqmyInfo sqmyInfo);
+
+    /**
+     * 修改社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    public int updateSqmyInfo(SqmyInfo sqmyInfo);
+
+    /**
+     * 批量删除社情民意信息
+     * 
+     * @param sqmyIds 需要删除的社情民意信息主键集合
+     * @return 结果
+     */
+    public int deleteSqmyInfoBySqmyIds(Long[] sqmyIds);
+
+    /**
+     * 删除社情民意信息信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 结果
+     */
+    public int deleteSqmyInfoBySqmyId(Long sqmyId);
+}

+ 96 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SqmyInfoServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.system.domain.sqmy.SqmyInfo;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.SqmyInfoMapper;
+import com.ruoyi.system.service.ISqmyInfoService;
+
+/**
+ * 社情民意信息Service业务层处理
+ * 
+ * @author boman
+ * @date 2024-03-14
+ */
+@Service
+public class SqmyInfoServiceImpl implements ISqmyInfoService 
+{
+    @Autowired
+    private SqmyInfoMapper sqmyInfoMapper;
+
+    /**
+     * 查询社情民意信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 社情民意信息
+     */
+    @Override
+    public SqmyInfo selectSqmyInfoBySqmyId(Long sqmyId)
+    {
+        return sqmyInfoMapper.selectSqmyInfoBySqmyId(sqmyId);
+    }
+
+    /**
+     * 查询社情民意信息列表
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 社情民意信息
+     */
+    @Override
+    public List<SqmyInfo> selectSqmyInfoList(SqmyInfo sqmyInfo)
+    {
+        return sqmyInfoMapper.selectSqmyInfoList(sqmyInfo);
+    }
+
+    /**
+     * 新增社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    @Override
+    public int insertSqmyInfo(SqmyInfo sqmyInfo)
+    {
+        sqmyInfo.setCreateTime(DateUtils.getNowDate());
+        return sqmyInfoMapper.insertSqmyInfo(sqmyInfo);
+    }
+
+    /**
+     * 修改社情民意信息
+     * 
+     * @param sqmyInfo 社情民意信息
+     * @return 结果
+     */
+    @Override
+    public int updateSqmyInfo(SqmyInfo sqmyInfo)
+    {
+        sqmyInfo.setUpdateTime(DateUtils.getNowDate());
+        return sqmyInfoMapper.updateSqmyInfo(sqmyInfo);
+    }
+
+    /**
+     * 批量删除社情民意信息
+     * 
+     * @param sqmyIds 需要删除的社情民意信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteSqmyInfoBySqmyIds(Long[] sqmyIds)
+    {
+        return sqmyInfoMapper.deleteSqmyInfoBySqmyIds(sqmyIds);
+    }
+
+    /**
+     * 删除社情民意信息信息
+     * 
+     * @param sqmyId 社情民意信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteSqmyInfoBySqmyId(Long sqmyId)
+    {
+        return sqmyInfoMapper.deleteSqmyInfoBySqmyId(sqmyId);
+    }
+}

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ZxConferenceServiceImpl.java

@@ -78,6 +78,7 @@ public class ZxConferenceServiceImpl implements IZxConferenceService {
     @Transactional(rollbackFor = Exception.class)
     @Override
     public int insertZxConference(ZxConference zxConference) {
+        //todo 给参会人员发送短信
         zxConference.setCreateTime(DateUtils.getNowDate());
         int rows = zxConferenceMapper.insertZxConference(zxConference);
         insertZxConferenceUser(zxConference);
@@ -93,6 +94,7 @@ public class ZxConferenceServiceImpl implements IZxConferenceService {
     @Transactional(rollbackFor = Exception.class)
     @Override
     public int updateZxConference(ZxConference zxConference) {
+        //todo 给参会人员发送短信
         zxConference.setUpdateTime(DateUtils.getNowDate());
         zxConferenceMapper.deleteZxConferenceUserByConferenceId(zxConference.getConferenceId());
         insertZxConferenceUser(zxConference);

+ 126 - 0
ruoyi-system/src/main/resources/mapper/system/SqmyInfoMapper.xml

@@ -0,0 +1,126 @@
+<?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.ruoyi.system.mapper.SqmyInfoMapper">
+    
+    <resultMap type="SqmyInfo" id="SqmyInfoResult">
+        <result property="sqmyId"    column="sqmy_id"    />
+        <result property="sqmyUserId"    column="sqmy_user_id"    />
+        <result property="title"    column="title"    />
+        <result property="titleType"    column="title_type"    />
+        <result property="proposalContent"    column="proposal_content"    />
+        <result property="contactName"    column="contact_name"    />
+        <result property="contactPhone"    column="contact_phone"    />
+        <result property="sqmyName"    column="sqmy_name"    />
+        <result property="sqmyPhone"    column="sqmy_phone"    />
+        <result property="unit"    column="unit"    />
+        <result property="isPublicity"    column="is_publicity"    />
+        <result property="isSecret"    column="is_secret"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectSqmyInfoVo">
+        select sqmy_id, sqmy_user_id, title, title_type, proposal_content, contact_name, contact_phone, sqmy_name, sqmy_phone, unit, is_publicity, is_secret, create_by, create_time, update_by, update_time, remark from sqmy_info
+    </sql>
+
+    <select id="selectSqmyInfoList" parameterType="SqmyInfo" resultMap="SqmyInfoResult">
+        <include refid="selectSqmyInfoVo"/>
+        <where>  
+            <if test="sqmyUserId != null "> and sqmy_user_id = #{sqmyUserId}</if>
+            <if test="title != null  and title != ''"> and title = #{title}</if>
+            <if test="titleType != null  and titleType != ''"> and title_type = #{titleType}</if>
+            <if test="proposalContent != null  and proposalContent != ''"> and proposal_content = #{proposalContent}</if>
+            <if test="contactName != null  and contactName != ''"> and contact_name like concat('%', #{contactName}, '%')</if>
+            <if test="contactPhone != null  and contactPhone != ''"> and contact_phone = #{contactPhone}</if>
+            <if test="sqmyName != null  and sqmyName != ''"> and sqmy_name like concat('%', #{sqmyName}, '%')</if>
+            <if test="sqmyPhone != null  and sqmyPhone != ''"> and sqmy_phone = #{sqmyPhone}</if>
+            <if test="unit != null  and unit != ''"> and unit = #{unit}</if>
+            <if test="isPublicity != null  and isPublicity != ''"> and is_publicity = #{isPublicity}</if>
+            <if test="isSecret != null  and isSecret != ''"> and is_secret = #{isSecret}</if>
+        </where>
+    </select>
+    
+    <select id="selectSqmyInfoBySqmyId" parameterType="Long" resultMap="SqmyInfoResult">
+        <include refid="selectSqmyInfoVo"/>
+        where sqmy_id = #{sqmyId}
+    </select>
+        
+    <insert id="insertSqmyInfo" parameterType="SqmyInfo" useGeneratedKeys="true" keyProperty="sqmyId">
+        insert into sqmy_info
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="sqmyUserId != null">sqmy_user_id,</if>
+            <if test="title != null and title != ''">title,</if>
+            <if test="titleType != null">title_type,</if>
+            <if test="proposalContent != null">proposal_content,</if>
+            <if test="contactName != null and contactName != ''">contact_name,</if>
+            <if test="contactPhone != null and contactPhone != ''">contact_phone,</if>
+            <if test="sqmyName != null and sqmyName != ''">sqmy_name,</if>
+            <if test="sqmyPhone != null and sqmyPhone != ''">sqmy_phone,</if>
+            <if test="unit != null">unit,</if>
+            <if test="isPublicity != null">is_publicity,</if>
+            <if test="isSecret != null">is_secret,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="sqmyUserId != null">#{sqmyUserId},</if>
+            <if test="title != null and title != ''">#{title},</if>
+            <if test="titleType != null">#{titleType},</if>
+            <if test="proposalContent != null">#{proposalContent},</if>
+            <if test="contactName != null and contactName != ''">#{contactName},</if>
+            <if test="contactPhone != null and contactPhone != ''">#{contactPhone},</if>
+            <if test="sqmyName != null and sqmyName != ''">#{sqmyName},</if>
+            <if test="sqmyPhone != null and sqmyPhone != ''">#{sqmyPhone},</if>
+            <if test="unit != null">#{unit},</if>
+            <if test="isPublicity != null">#{isPublicity},</if>
+            <if test="isSecret != null">#{isSecret},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateSqmyInfo" parameterType="SqmyInfo">
+        update sqmy_info
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="sqmyUserId != null">sqmy_user_id = #{sqmyUserId},</if>
+            <if test="title != null and title != ''">title = #{title},</if>
+            <if test="titleType != null">title_type = #{titleType},</if>
+            <if test="proposalContent != null">proposal_content = #{proposalContent},</if>
+            <if test="contactName != null and contactName != ''">contact_name = #{contactName},</if>
+            <if test="contactPhone != null and contactPhone != ''">contact_phone = #{contactPhone},</if>
+            <if test="sqmyName != null and sqmyName != ''">sqmy_name = #{sqmyName},</if>
+            <if test="sqmyPhone != null and sqmyPhone != ''">sqmy_phone = #{sqmyPhone},</if>
+            <if test="unit != null">unit = #{unit},</if>
+            <if test="isPublicity != null">is_publicity = #{isPublicity},</if>
+            <if test="isSecret != null">is_secret = #{isSecret},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where sqmy_id = #{sqmyId}
+    </update>
+
+    <delete id="deleteSqmyInfoBySqmyId" parameterType="Long">
+        delete from sqmy_info where sqmy_id = #{sqmyId}
+    </delete>
+
+    <delete id="deleteSqmyInfoBySqmyIds" parameterType="String">
+        delete from sqmy_info where sqmy_id in 
+        <foreach item="sqmyId" collection="array" open="(" separator="," close=")">
+            #{sqmyId}
+        </foreach>
+    </delete>
+</mapper>