设备管理修改
This commit is contained in:
parent
253f49b998
commit
ad7fe392f1
|
|
@ -123,6 +123,13 @@ public class DeviceFullInfoVO {
|
|||
private Integer gateDefaultAmount;
|
||||
@ApiModelProperty("设备状态")
|
||||
private String deviceState;
|
||||
private String recipeName;
|
||||
private String areaName;
|
||||
private String areaId;
|
||||
private String canteenName;
|
||||
private String canteenId;
|
||||
private String stallName;
|
||||
private String stallId;
|
||||
@ApiModelProperty("绑定关系")
|
||||
private List<DeviceBindVO> bindList;
|
||||
@ApiModelProperty("菜谱信息")
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
from sys_user su
|
||||
left join acc_card ac on ac.user_id = su.user_id
|
||||
left join acc_info ai on ai.user_id = su.user_id
|
||||
<where>
|
||||
where ai.del_flag = '2'
|
||||
<if test="type == 'user'">
|
||||
<if test="time != null and time != ''">
|
||||
AND su.update_time >= #{time} - INTERVAL 5 SECOND;
|
||||
|
|
@ -31,7 +31,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="userId != null and userId != '' and userId != 0 and userId != '0'">
|
||||
AND su.user_id = #{userId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="getMoneyList" resultType="com.bonus.canteen.core.android.vo.UserInfoVo">
|
||||
SELECT
|
||||
|
|
|
|||
|
|
@ -148,9 +148,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="checkIsExist" resultType="java.lang.Integer">
|
||||
select count(1)
|
||||
from device_info
|
||||
where (device_num like concat('%', #{keyWord}, '%')
|
||||
or device_name like concat('%', #{keyWord}, '%')
|
||||
or device_sn like concat('%', #{keyWord}, '%'))
|
||||
where (device_num = #{keyWord}
|
||||
or device_name = #{keyWord}
|
||||
or device_sn = #{keyWord})
|
||||
<if test="deviceId != null and deviceId != ''">
|
||||
and device_id != #{deviceId}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue