Commit b91654b7 authored by tianyiming's avatar tianyiming

根据类型查询单位列表

parent 08939e3b
...@@ -4,11 +4,8 @@ ...@@ -4,11 +4,8 @@
<select id="getUnitListByType" resultType="java.util.Map"> <select id="getUnitListByType" resultType="java.util.Map">
SELECT SELECT
sequence_nbr sequenceNbr,
use_code useCode, use_code useCode,
use_unit useUnit, use_unit useUnit
use_contact useContact,
contact_phone contactPhone
FROM FROM
tz_base_enterprise_info tz_base_enterprise_info
WHERE WHERE
......
...@@ -162,8 +162,9 @@ public class CommonServiceImpl implements ICommonService { ...@@ -162,8 +162,9 @@ public class CommonServiceImpl implements ICommonService {
type = "使用单位"; type = "使用单位";
} else if (type.equals("maintenance")) { } else if (type.equals("maintenance")) {
type = "维保单位"; type = "维保单位";
} else if (type.equals("inspection")) {
type = "检验检测机构";
} }
return commonMapper.getUnitListByType(type); return commonMapper.getUnitListByType(type);
} }
......
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