Browse Source

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

release_toaliyun_real
luozukai 7 years ago
parent
commit
6ff10ae981
2 changed files with 5 additions and 5 deletions
  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 View File

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


+ 3
- 3
mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml View File

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


<if test=" null != sortColumns"> order by ${sortColumns} </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> </sql>


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


<select id="findChildList" resultType="WxFlowConfig"> <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> </select>


</mapper> </mapper>

Loading…
Cancel
Save