增加同步指令下发与同步状态获取功能,修改同步下发配置的asn业务逻辑

This commit is contained in:
zhangwei
2018-11-27 16:57:08 +08:00
parent 85fc51134c
commit 80e6bbb53d
8 changed files with 186 additions and 38 deletions

View File

@@ -65,7 +65,13 @@
<include refid="dictColumns"/>
FROM sys_data_dictionary_name n
<include refid="dictJoins"/>
WHERE n.status = #{DEL_FLAG_NORMAL} AND n.module_name = #{modualName}
WHERE n.status = #{DEL_FLAG_NORMAL}
<if test="modualName != null and modualName!=''">
AND n.module_name = #{modualName}
</if>
<if test="mark != null and mark!=''">
AND n.mark = #{mark}
</if>
ORDER BY n.id,t.item_sort
</select>
@@ -149,5 +155,12 @@
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
<!-- 编辑词典词条信息 -->
<update id="updateDictItem" parameterType="com.nis.domain.SysDataDictionaryItem" >
update sys_data_dictionary_item
set item_code=#{itemCode}, item_value=#{itemValue},
item_desc=#{itemDesc}, item_sort=#{itemSort}, status=#{status},
type=#{type}, dictionary_id=#{dictionaryId}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>