Merge remote-tracking branch 'origin/master'
| | |
| | | if (CollectionUtils.isEmpty(deviceList)) { |
| | | return; |
| | | } |
| | | log.info("此次共检测工单图片工单数" + deviceList.size()); |
| | | // 查出国标设备,就一条数据 |
| | | List<DeviceInfo> gbDevices = new LambdaQueryChainWrapper<>(deviceInfoMapper) |
| | | .orderByDesc(DeviceInfo::getUpdateTime) |
| | |
| | | log.info("sendGet - {}", urlNameString); |
| | | URL realUrl = new URL(urlNameString); |
| | | URLConnection connection = realUrl.openConnection(); |
| | | connection.setConnectTimeout(20000); // 20s超时 |
| | | connection.setRequestProperty("accept", "*/*"); |
| | | connection.setRequestProperty("connection", "Keep-Alive"); |
| | | connection.setRequestProperty("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"); |
| | |
| | | FROM |
| | | t_work_order wo |
| | | WHERE |
| | | wo.create_time BETWEEN #{start} AND #{end} AND wo.status = 'AUDITING' |
| | | AND deleted = 0 |
| | | wo.status = 'YW_HANDLE' |
| | | AND wo.deleted = 0 |
| | | </select> |
| | | |
| | | <insert id="addMany"> |
| | |
| | | </resultMap> |
| | | |
| | | <select id="selectYwConditionByYwId" resultMap="BaseResultMap"> |
| | | SELECT yw.id, yu.id as unit_id, yu.unit_name, yw.yw_proofMaterials, yw.create_time, yw.sys_msg, su.nick_name |
| | | SELECT DISTINCT yw.id, yu.id as unit_id, yu.unit_name, yw.yw_proofMaterials, yw.create_time, yw.sys_msg, su.nick_name |
| | | FROM t_work_order_yw_condition_record yw |
| | | LEFT JOIN sys_user su ON yw.commit_user = su.user_id AND yw.deleted = 0 AND yw.work_order_no = #{workOrderNo} |
| | | LEFT JOIN sys_user su ON yw.commit_user = su.user_id AND yw.deleted = 0 |
| | | LEFT JOIN t_yw_unit yu ON su.unit_id = yu.id |
| | | WHERE |
| | | yw.work_order_no = #{workOrderNo} |
| | | ORDER BY yw.create_time DESC |
| | | </select> |
| | | |