Commit b34e1c82 authored by chenzhao's avatar chenzhao

修改bug

parent ebad9831
...@@ -162,6 +162,10 @@ public interface FormInstanceMapper extends BaseMapper<FormInstance> { ...@@ -162,6 +162,10 @@ public interface FormInstanceMapper extends BaseMapper<FormInstance> {
*/ */
void clearRegionBind(Long instanceId); void clearRegionBind(Long instanceId);
/*
* 查询id下是否还有子类货位信息
* */
List<Map<String,String>> getParentId(Long parentId);
Map<String, String> getIdAndType(String id); Map<String, String> getIdAndType(String id);
......
...@@ -446,6 +446,15 @@ ...@@ -446,6 +446,15 @@
WHERE WHERE
instance_id = #{instanceId} and (field_name = 'isRisk' or field_name = 'riskPointId') instance_id = #{instanceId} and (field_name = 'isRisk' or field_name = 'riskPointId')
</update> </update>
<select id="getParentId" resultType="map">
select
*
from
wl_warehouse_structure
where
parent_id = #{parentId}
</select>
<select id="getIdAndType" resultType="hashmap"> <select id="getIdAndType" resultType="hashmap">
select select
ins.field_value as id, ins.field_value as id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment