|
@@ -2,12 +2,13 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
<mapper namespace="com.huyi.flowable.server.mapper.MessageMapper">
|
|
|
<insert id="insertMessage">
|
|
|
- insert into sys_notice values (#{id}, #{companyId}, #{tableId}, #{title}, '00', null, #{workType}, '0', '0', null, null, null, '审批自动生成', now());
|
|
|
+ insert into sys_notice(notice_id, company_id, table_id, notice_title, type, notice_type, work_type,
|
|
|
+ status, message_send, message_id, message_code, message_status, remark, create_time) values (#{id}, #{companyId}, #{tableId}, #{title}, '00', null, #{workType}, '0', '0', null, null, null, '审批自动生成', now());
|
|
|
</insert>
|
|
|
<insert id="insertNoticeUserRel">
|
|
|
insert into sys_notice_user_rel values
|
|
|
<foreach item="item" collection="userList" separator=",">
|
|
|
- (#{noticeId}, #{item.id}, '0')
|
|
|
+ (#{noticeId}, #{item}, '0')
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
<select id = "queryUser" resultType="java.util.Map" parameterType="java.lang.String">
|