代理商备注

This commit is contained in:
磷叶 2025-03-04 13:36:05 +08:00
parent 35e0086429
commit 7d896321ae
3 changed files with 11 additions and 0 deletions

View File

@ -281,4 +281,7 @@ public class Device extends BaseEntity
@ApiModelProperty("电量系数")
private BigDecimal wxs;
@ApiModelProperty("代理商备注")
private String agentRemark;
}

View File

@ -42,6 +42,7 @@ public class DeviceBO extends Device {
bo.setAgentServiceRate(getAgentServiceRate());
bo.setAgentId(getAgentId());
bo.setMonthFee(getMonthFee());
bo.setAgentRemark(getAgentRemark());
return bo;
}
@ -73,6 +74,7 @@ public class DeviceBO extends Device {
bo.setAgentServiceRate(getAgentServiceRate());
bo.setAgentId(getAgentId());
bo.setMonthFee(getMonthFee());
bo.setAgentRemark(getAgentRemark());
return bo;
}
@ -84,6 +86,7 @@ public class DeviceBO extends Device {
DeviceBO bo = new DeviceBO();
bo.setDeviceId(getDeviceId());
bo.setAgentServiceRate(getAgentServiceRate());
bo.setAgentRemark(getAgentRemark());
return bo;
}
}

View File

@ -75,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sd.user_opera_ele,
sd.imsi,
sd.wxs,
sd.agent_remark,
sm.model_name as model,
sm.picture as picture,
sm.tags as model_tags,
@ -141,6 +142,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="query.excludeDeviceId != null"> and sd.device_id != #{query.excludeDeviceId}</if>
<if test="query.userOperaType != null and query.userOperaType != ''"> and user_opera_type = #{query.userOperaType}</if>
<if test="query.imsi != null and query.imsi != ''"> and sd.imsi like concat('%', #{query.imsi}, '%')</if>
<if test="query.agentRemark != null and query.agentRemark != ''"> and sd.agent_remark like concat('%', #{query.agentRemark}, '%')</if>
<if test="query.inStaff != null">
and sd.store_id
<if test="!query.inStaff">not</if>
@ -418,6 +420,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userOperaEle != null">user_opera_ele,</if>
<if test="imsi != null">imsi,</if>
<if test="wxs != null">wxs,</if>
<if test="agentRemark != null">agent_remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="storeId != null">#{storeId},</if>
@ -478,6 +481,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userOperaEle != null">#{userOperaEle},</if>
<if test="imsi != null">#{imsi},</if>
<if test="wxs != null">#{wxs},</if>
<if test="agentRemark != null">#{agentRemark},</if>
</trim>
</insert>
@ -571,6 +575,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userOperaEle != null">user_opera_ele = #{userOperaEle},</if>
<if test="imsi != null">imsi = #{imsi},</if>
<if test="wxs != null">wxs = #{wxs},</if>
<if test="agentRemark != null">agent_remark = #{agentRemark},</if>
</trim>
where device_id = #{deviceId}
</update>