@@ -22,5 +22,6 @@
LEFT JOIN (SELECT COUNT(id) AS cnt, group_id
from pan_fosterwx_cash_mobile
GROUP BY group_id) AS B ON A.id = B.group_id
+ order by A.id desc
</select>
</mapper>
@@ -21,12 +21,15 @@
SELECT A.*,
B.mobile_code,
B.mobile_unio_code,
- C.station_name
+ C.station_name,
+ D.domain
FROM pan_fosterwx_cash_mobile as A
left join pan_fosterwx_mobile as B on A.mobile_id = B.id
left join pan_fosterwx_station as C on A.station_id = C.id
+ left join pan_fosterwx_domain as D on A.domain_id = D.id and D.status = 1
<where>
<if test="params.groupId != null">and group_id = #{params.groupId}</if>
</where>
from pan_fosterwx_cash_oas_box
@@ -25,5 +25,6 @@
</sql>
<select id="getList" resultType="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashOasBox">
SELECT * FROM pan_fosterwx_cash_oas_box
+ order by id desc
@@ -20,7 +20,7 @@
left join pan_fosterwx_cash_mobile_group as B on A.cash_mobile_group_id = B.id
<if test="params.oasBoxId">and A.oas_box_id = #{params.oasBoxId}</if>
-
@@ -33,5 +33,6 @@
SELECT * FROM pan_fosterwx_cash_task_list
where del_flg = 1
<if test="params.templateId != null">and template_id = #{params.templateId}</if>
@@ -20,5 +20,6 @@
<select id="getList" resultType="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashTaskTemplate">
SELECT * FROM pan_fosterwx_cash_task_template where del_flg = 1
@@ -51,6 +51,9 @@ public class FosterwxCashMobile extends Model<FosterwxCashMobile> {
private Integer domainId;
@TableField(exist = false)
+ private String domain;
+
+ @TableField(exist = false)
private String stationName;