| | |
| | | |
| | | //通过修改属性窗口值来修改文件值 |
| | | public Response updateXmlByFileParam(FileParam fileParam,String filePath) { |
| | | //修改文件对应的数据库数据 |
| | | //paramMapper.updateParamByFileUrl(fileParam,filePath); |
| | | updateParamByFileUrl(fileParam,filePath); |
| | | |
| | | Map<String,String> map=new HashMap<>(); |
| | | Class paramClass=fileParam.getClass(); |
| | | // 获取所有的属性数组 |
| | |
| | | if(map.size()>0){ |
| | | bl=XmlFileOpreate.writeXml(map,filePath); |
| | | } |
| | | //修改文件对应的数据库数据 |
| | | //paramMapper.updateParamByFileUrl(fileParam,filePath); |
| | | updateParamByFileUrl(fileParam,filePath); |
| | | |
| | | return new Response().setII(1,bl,map,"修改文件"); |
| | | } |
| | | //修改文件对应的数据库数据 |