Commit b91654b7 authored by tianyiming's avatar tianyiming

根据类型查询单位列表

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