| | |
| | | @DeleteMapping("/deleteList") |
| | | @AuthHandler |
| | | public Result<?> deleteList(String ids) { |
| | | if(ids==null||ids.equals(""))return Result.fail(); |
| | | MyUtil.PrintLog(ids); |
| | | productService.deleteList(ids); |
| | | return Result.success("删除成功"); |
| | |
| | | |
| | | <!--添加标准选择样品名称--> |
| | | <select id="selectmater" resultType="java.lang.String"> |
| | | select material |
| | | select DISTINCT material |
| | | from lims_laboratory.product_model |
| | | where state = 1 |
| | | </select> |
| | |
| | | url: jdbc:mysql://192.168.110.209:3306/lims_laboratory?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 |
| | | username: user |
| | | password: 123456 |
| | | # url: jdbc:mysql://localhost:3306/lims_laboratory?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 |
| | | # username: root |
| | | # password: 123456 |
| | | druid: |
| | | # Druid数据源配置 |
| | | initialSize: 5 # 初始连接数 |
| | |
| | | # redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突 |
| | | database: 0 |
| | | # redis服务器地址(默认为localhost) |
| | | host: 192.168.110.209 |
| | | host: 192.168.110.209 |
| | | # host: localhost |
| | | # redis端口(默认为6379) |
| | | port: 6380 |
| | | # redis访问密码(默认为空) |