|
@@ -896,10 +896,10 @@
|
|
|
<!-- 获取销售渠道-->
|
|
<!-- 获取销售渠道-->
|
|
|
<select id="getSaleChannel" resultType="java.util.Map">
|
|
<select id="getSaleChannel" resultType="java.util.Map">
|
|
|
SELECT
|
|
SELECT
|
|
|
- channel_id AS channelId,
|
|
|
|
|
- channel_id AS id,
|
|
|
|
|
- channel_code AS channelCode,
|
|
|
|
|
- channel_name AS channelName
|
|
|
|
|
|
|
+ channel_id AS "channelId",
|
|
|
|
|
+ channel_id AS "id",
|
|
|
|
|
+ channel_code AS "channelCode",
|
|
|
|
|
+ channel_name AS "channelName"
|
|
|
FROM dkic_b.t_mst_sale_channel
|
|
FROM dkic_b.t_mst_sale_channel
|
|
|
<where>
|
|
<where>
|
|
|
<if test="cpId != null">
|
|
<if test="cpId != null">
|
|
@@ -910,10 +910,10 @@
|
|
|
<!--获取员工-->
|
|
<!--获取员工-->
|
|
|
<select id="getStaff" resultType="java.util.Map">
|
|
<select id="getStaff" resultType="java.util.Map">
|
|
|
SELECT
|
|
SELECT
|
|
|
- staff_id AS staffId,
|
|
|
|
|
- staff_id AS id,
|
|
|
|
|
- staff_code AS staffCode,
|
|
|
|
|
- staff_name AS staffName
|
|
|
|
|
|
|
+ staff_id AS "staffId",
|
|
|
|
|
+ staff_id AS "id",
|
|
|
|
|
+ staff_code AS "staffCode",
|
|
|
|
|
+ staff_name AS "staffName"
|
|
|
FROM dkic_b.t_mst_staff
|
|
FROM dkic_b.t_mst_staff
|
|
|
<where>
|
|
<where>
|
|
|
<if test="cpId != null">
|
|
<if test="cpId != null">
|