Просмотр исходного кода

[审批流][修改][init]

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
6ff10ae981
2 измененных файлов: 5 добавлений и 5 удалений
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/domain/po/WxFlowConfig.java
  2. +3
    -3
      mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml

+ 2
- 2
mallinkService/src/main/java/com/iformall/domain/po/WxFlowConfig.java Просмотреть файл

@@ -31,8 +31,8 @@ public class WxFlowConfig extends BaseEntity {
@io.swagger.annotations.ApiModelProperty(value="流程类型1合同审批2账单审批3终止合同4有价卷上架",name="type")
private Integer type;

@io.swagger.annotations.ApiModelProperty(value="状态0启用 1停用",name="status")
private Integer status;
@io.swagger.annotations.ApiModelProperty(value="排序",name="sort")
private Integer sort;

@io.swagger.annotations.ApiModelProperty(value="模板id",name="modelId")
private Long modelId;


+ 3
- 3
mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml Просмотреть файл

@@ -8,7 +8,7 @@
<result column="parent_id" property="parentId" />
<result column="name" property="name" />
<result column="type" property="type" />
<result column="status" property="status" />
<result column="sort" property="sort" />
<result column="model_id" property="modelId" />
<result column="create_date" property="createDate" />
<result column="update_date" property="updateDate" />
@@ -26,7 +26,7 @@
<if test=" null != name "> and `name` like concat('%', #{name},'%') </if>

<if test=" null != sortColumns"> order by ${sortColumns} </if>
<if test=" null == sortColumns"> order by id asc </if>
<if test=" null == sortColumns"> order by sort asc </if>
</sql>

<select id="findList" parameterType="com.iformall.domain.po.WxFlowConfig" resultMap="BaseResultMap">
@@ -35,7 +35,7 @@
</select>

<select id="findChildList" resultType="WxFlowConfig">
SELECT * FROM wx_flow_config WHERE parent_id = #{id} ORDER BY id ASC
SELECT * FROM wx_flow_config WHERE parent_id = #{id} ORDER BY sort ASC
</select>

</mapper>

Загрузка…
Отмена
Сохранить