|
|
@ -83,11 +83,15 @@ |
|
|
|
</select> |
|
|
|
<select id="selectInitCustomerList" resultType="com.epmet.dto.result.UploadListResultDTO" parameterType="com.epmet.dto.form.UploadListFormDTO"> |
|
|
|
SELECT pc.ID AS "customerId", |
|
|
|
mi.NICK_NAME AS "miniName", |
|
|
|
pc.CUSTOMER_NAME, |
|
|
|
ai.CLIENT_TYPE, |
|
|
|
ai.AUTHORIZER_APPID AS "appId" |
|
|
|
FROM pa_customer pc |
|
|
|
INNER JOIN authorization_info ai ON pc.ID = ai.CUSTOMER_ID AND ai.DEL_FLAG = 0 |
|
|
|
INNER JOIN mini_info mi ON ai.CUSTOMER_ID = mi.CUSTOMER_ID |
|
|
|
AND ai.CLIENT_TYPE = mi.CLIENT_TYPE |
|
|
|
AND mi.DEL_FLAG = 0 |
|
|
|
WHERE pc.DEL_FLAG = 0 |
|
|
|
AND pc.SOURCE = #{source} |
|
|
|
AND pc.IS_INITIALIZE = 1 |
|
|
|