315 随笔
2021-3-15 09:54:20
# 平板应用列表查询
    <!-- 列表查询 -->
    <select id="list" resultType="com.hangzhi.app.business.sm.dto.tabletApp.TabletAppListResultDto">
        SELECT 
            ta.id,
            ta.device_id AS 'deviceId',
            ta.app_name AS 'appName',
            ta.package_name AS 'packageName',
            ta.type,
            ta.available_status AS 'availableStatus',
            IFNULL(ta.ent_status, 0) AS 'entStatus'
        FROM 
            t_ps_tablet_app ta
        WHERE
            ta.device_id = #{deviceId}
    </select>
    
    //批量新增
    insert into t_ps_tablet_app
    (
    version
    version_name
    icon_path
    file_size
    create_date
    )
        values
    <foreach collection= "tabletAppList" item="item" index="index" separator=",">
    (
    #{item.versionName},
    ...
    #{itme.fileSize},
    now()
    )
    可用时间段
    @ApiModelProperty(value= "可用时间段")
    private Map<String, List<TimeVO>> availableTimes;
    关于应用的接口
    根据应用名查询
    @PostMapping("/listByName")
    浏览器可用状态   browserAvailableStatus
    datasource:
        com.mysql.jdbc.Driver
        com.alibaba.druid.pool.DruidDataSource
# Eclipse 查找
# 工作空间中查找
    
Note:
 欢迎点赞,留言,转载请在文章页面明显位置给出原文链接
 知者,感谢您在茫茫人海中阅读了我的文章
 没有个性 哪来的签名!
 详情请关注点我
 持续更新中
$扫一扫 有惊喜~$
 
 
© 2021 03 - Guyu.com | 【版权所有 侵权必究】

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号