| | |
| | | @ApiParam(value = "åä½") @RequestParam(required = false) Long compId, |
| | | @ApiParam(value = "å§å)") @RequestParam(required = false) String name, |
| | | @ApiParam(value = "å¼å§æ¶é´") @RequestParam(required = false) String beginTime, |
| | | @ApiParam(value = "ç»ææ¶é´") @RequestParam(required = false) String endTime) { |
| | | @ApiParam(value = "ç»ææ¶é´") @RequestParam(required = false) String endTime, |
| | | @ApiParam(value = "使£ç±»å") @RequestParam(required = false) String tjCategory) { |
| | | // String config = configService.selectConfigByKey("tj_confirm"); |
| | | // DateTime beginTimes = null; |
| | | // DateTime endTimes = null; |
| | |
| | | if (name == null) name = ""; |
| | | if (beginTime == null) beginTime = ""; |
| | | if (endTime == null) endTime = ""; |
| | | return AjaxResult.success(orderService.getCunChuGuoChengCustomerList(tjNumber, page, pageSize, checkStatus, value, beginTime, endTime, name)); |
| | | return AjaxResult.success(orderService.getCunChuGuoChengCustomerList(tjNumber, page, pageSize, checkStatus, value, beginTime, endTime, name,tjCategory)); |
| | | } |
| | | |
| | | |
| | |
| | | // @PreAuthorize("@ss.hasPermi('check:check:getTjdetailList')") |
| | | public AjaxResult getTjdetailList(@ApiParam(value = "使£tjNumber") @RequestParam String tjNumber, |
| | | @ApiParam(value = "æ»æ£å»ºè®®") @RequestParam(required = false) String advice, |
| | | @ApiParam(value = "å®¡æ ¸ç¶æ0å¾
å®¡æ ¸1å·²å®¡æ ¸") @RequestParam Integer checkStatus) { |
| | | @ApiParam(value = "å®¡æ ¸ç¶æ0å¾
å®¡æ ¸1å·²å®¡æ ¸") @RequestParam Integer checkStatus, |
| | | @ApiParam(value = "èä¸ç»è®º") @RequestParam(required = false) String zhiyeJl, |
| | | @ApiParam(value = "èä¸ç»æ") @RequestParam(required = false) String zhiyeJg) { |
| | | |
| | | String config = configService.selectConfigByKey("sfjcwjhyqxm"); |
| | | if (null != config && config.equalsIgnoreCase("Y")) { |
| | |
| | | tjOrder.setCheckTime(date); |
| | | tjOrder.setStatus(401); |
| | | tjOrder.setFinishTime(date); |
| | | if (StrUtil.isNotBlank(zhiyeJl)) |
| | | tjOrder.setZhiyeJl(zhiyeJl); |
| | | if (StrUtil.isNotBlank(zhiyeJg)) |
| | | tjOrder.setZhiyeJg(zhiyeJg); |
| | | if (orderService.updateById(tjOrder)) { |
| | | TjCustomer customer = customerService.getById(tjOrder.getUserId()); |
| | | if (null != customer) { |
| | |
| | | parent.put("parentId", remark.getProsId()); |
| | | parent.put("xmlb", remark.getXmlb()); |
| | | parent.put("", remark.getXmlb()); |
| | | parent.put("zhiyejl",one.getZhiyeJl()); |
| | | parent.put("zhiyejg", one.getZhiyeJg()); |
| | | List<TjOrderDetail> dels = new ArrayList<>(); |
| | | if (null != tjOrderDetails && !tjOrderDetails.isEmpty()) { |
| | | for (TjOrderDetail tjOrderDetail : tjOrderDetails) { |
| | |
| | | |
| | | # æ¥çæå¤§çè¿æ¥æ° |
| | | SHOW VARIABLES LIKE 'max_connections'; |
| | | |
| | | CREATE TABLE tj_report_special_project ( |
| | | id BIGINT PRIMARY KEY NOT NULL, |
| | | pro_id BIGINT NOT NULL UNIQUE, |
| | | template_key TINYINT(2) NOT NULL COMMENT '模æ¿å¤æç¼å· æ ¹æ®ç¼å·èµ°ä¸åççææ¨¡æ¿ç±»å', |
| | | params TEXT NULL COMMENT 'éè¦é¢å¤ä¼ éçåæ°' |
| | | ) COMMENT 'æ¥åç¹æ®é¡¹ç®'; |
| | | |
| | | |
| | | -- åäºæ°æ® |
| | | INSERT INTO tj_report_special_project VALUES(1623853479200546816,1862852701533012001,1,'{"dy":"4.0","xy":"4.0","title":"鳿§åèå¼ï¼","dystr":"DOBå¼ï¼ ⥠${dy} HP-鳿§","xystr":" < ${xy} æ£å¸¸","en":"DOB"}'); |
| | | |
| | | |
| | | -- å¿å»é¢æ°æ® |
| | | INSERT INTO tj_report_special_project VALUES(1623853479200546817,1870371396991955967,1,'{"dy":"100","xy":"100","title":"åèå¼(DPM)ï¼","dystr":"DPMå¼ï¼ ⥠${dy} 鳿§","xystr":" < ${xy} é´æ§","en":"DPM"}'); |
| | | |
| | | |
| | | SELECT * FROM tj_report_special_project; |
| | |
| | | ALTER TABLE tj_order ADD COLUMN zhiye_jl VARCHAR(255) NULL COMMENT 'èä¸ç»è®º'; |
| | | ALTER TABLE tj_order ADD COLUMN zhiye_jg VARCHAR(255) NULL COMMENT 'èä¸ç»æ'; |
| | | |
| | | # åå¨è¿ç¨ä¿®æ¹ |
| | | # tj_check_list |
| | | # å¢å 忰以åæç»ç»æéè¿åå¢å æ¡ä»¶ |
| | | # å¨OUTåæ°åå¢å ï¼ |
| | | IN p_tjCategory VARCHAR(100) |
| | | # æç»è¿åæ¡ä»¶æ¥è¯¢ |
| | | -- è®¡ç®æ»è¡æ° |
| | | select count(tjNumber) into total from ls_check_list WHERE (p_tjCategory IS NULL OR tjCategory = p_tjCategory); |
| | | -- æ§è¡å页æ¥è¯¢å¹¶è¿åç»æé |
| | | if checkStatus =0 THEN |
| | | select * from ls_check_list WHERE (p_tjCategory IS NULL OR tjCategory = p_tjCategory) ORDER BY finishTime DESC LIMIT page,pageSize; |
| | | ELSE |
| | | select * from ls_check_list WHERE (p_tjCategory IS NULL OR tjCategory = p_tjCategory) ORDER BY shsj DESC LIMIT page,pageSize; |
| | | END if; |
| | | |
| | |
| | | |
| | | //åå¨è¿ç¨ä¸ç¨æ¥å£(æ»æ£) |
| | | Map<String,Object> getCunChuGuoChengCustomerList(String tjNumber,Integer page,Integer pageSize, |
| | | Integer checkStatus, String compId, String beginTime, String endTime,String tjname); |
| | | Integer checkStatus, String compId, String beginTime, String endTime,String tjname,String tjCategory); |
| | | |
| | | //åå¨è¿ç¨ä¸ç¨æ¥å£(å审) |
| | | Map<String,Object> getCsCunChuGuoChengCustomerList(String tjNumber,Integer page,Integer pageSize, |
| | |
| | | |
| | | @Override |
| | | public Map<String,Object> getCunChuGuoChengCustomerList(String tjNumber, Integer page, Integer pageSize, Integer checkStatus, |
| | | String compId, String beginTime, String endTime, String tjname) { |
| | | String compId, String beginTime, String endTime, String tjname,String tjCategory) { |
| | | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("checkStatus",checkStatus); |
| | |
| | | map.put("tjname",tjname); |
| | | map.put("beginTime",beginTime); |
| | | map.put("endTime",endTime); |
| | | map.put("p_tjCategory",tjCategory); |
| | | List<List<?>> list = tjOrderMapper.getCunChuGuoChengCustomerList(map); |
| | | Map<String,Object> map1=new HashMap<>(); |
| | | map1.put("customers",list); |
| | |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{p_tjCategory,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |