设备接入联调

This commit is contained in:
mashuai 2024-09-20 15:01:05 +08:00
parent c0d6212177
commit 8b176c956b
2 changed files with 8 additions and 2 deletions

View File

@ -95,6 +95,12 @@ public class TbBdRecord implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd")
private Date createTime; private Date createTime;
/**
* 申请时间传参
*/
@ApiModelProperty(value="申请时间")
private String applyTime;
/** /**
* 创建人 * 创建人
*/ */

View File

@ -46,8 +46,8 @@
<if test="relUser != null and relUser != ''"> <if test="relUser != null and relUser != ''">
and tbr.rel_user like concat('%',#{relUser},'%') and tbr.rel_user like concat('%',#{relUser},'%')
</if> </if>
<if test="createTime != null and createTime != ''"> <if test="applyTime != null and applyTime != ''">
and DATE_FORMAT(tbr.create_time, '%Y-%m-%d') = #{createTime} and DATE_FORMAT(tbr.create_time, '%Y-%m-%d') = #{applyTime}
</if> </if>
GROUP BY tbr.id GROUP BY tbr.id
</select> </select>