Browse Source

修改创建病例-复制任务面板和任务通知

tall3
ma 4 years ago
parent
commit
ea0f16f146
  1. 2
      common/src/main/java/com/ccsens/common/persist/dao/ProTaskNotifyDao.java
  2. 2
      common/src/main/resources/mapper_dao/ProTaskNotifyDao.xml
  3. 2
      common/src/main/resources/mapper_dao/ProTaskPanelInfoDao.xml

2
common/src/main/java/com/ccsens/common/persist/dao/ProTaskNotifyDao.java

@ -24,5 +24,5 @@ public interface ProTaskNotifyDao extends ProTaskNotifyMapper {
* 保存所有的任务通知 * 保存所有的任务通知
* @param newTaskNotifyList 任务通知列表 * @param newTaskNotifyList 任务通知列表
*/ */
void insertAllTaskNotify(List<ProTaskNotify> newTaskNotifyList); void insertAllTaskNotify(@Param("newTaskNotifyList") List<ProTaskNotify> newTaskNotifyList);
} }

2
common/src/main/resources/mapper_dao/ProTaskNotifyDao.xml

@ -12,7 +12,7 @@
notify_type notify_type
) )
VALUES VALUES
<foreach collection="roleTaskList" item="item" separator=","> <foreach collection="newTaskNotifyList" item="item" separator=",">
(#{item.id},#{item.taskDetailId},#{item.lifecycle},#{item.path},#{item.appointParam},#{item.notifyType}) (#{item.id},#{item.taskDetailId},#{item.lifecycle},#{item.path},#{item.appointParam},#{item.notifyType})
</foreach> </foreach>
</insert> </insert>

2
common/src/main/resources/mapper_dao/ProTaskPanelInfoDao.xml

@ -16,7 +16,7 @@
col col
) )
VALUES VALUES
<foreach collection="roleTaskList" item="item" separator=","> <foreach collection="newTaskPanelInfoList" item="item" separator=",">
(#{item.id},#{item.taskDetailId},#{item.backColor},#{item.roundCorner},#{item.border},#{item.shadow},#{item.width} (#{item.id},#{item.taskDetailId},#{item.backColor},#{item.roundCorner},#{item.border},#{item.shadow},#{item.width}
,#{item.height},#{item.row},#{item.col}) ,#{item.height},#{item.row},#{item.col})
</foreach> </foreach>

Loading…
Cancel
Save