Model.ExportModel("SCM.LP")什么意思

C#调用cplex,写完数学模型后的这句话什么意思,是导出模型吗?Model.ExportModel("SCM.LP")什么意思

1个回答

导出模型,scm.lp应该是文件名。

sinat_39518432
sinat_39518432 回复caozhy: 谢谢大神
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
freemarker: Template not found for name "xxx.ftl".
报错信息: ``` freemarker.template.TemplateNotFoundException: Template not found for name "login.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.springframework.ui.freemarker.SpringTemplateLoader@3d5c089b, loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)). at freemarker.template.Configuration.getTemplate(Configuration.java:1833) at freemarker.template.Configuration.getTemplate(Configuration.java:1646) at com.csaarg.util.framework.FreeMarkerUtil.create(FreeMarkerUtil.java:35) at com.csaarg.sharedvip.controller.ForwardController.login(ForwardController.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) ``` FreeMarker 配置: ``` <bean id="freeMarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer"> <property name="defaultEncoding" value="UTF-8"/> <!-- 模板路径 --> <property name="templateLoaderPath" value="/WEB-INF/freeMarker/"/> <!-- 配置文件 --> <property name="freemarkerSettings" ref="freemarkerSettings"/> <!-- 自定义指令 --> <property name="freemarkerVariables"> <map> <entry key="xml_escape" value-ref="fmXmlEscape"/> <!--<entry key="view_url" value="http://localhost:8299/Store/content/css/"/>--> <!--<entry key="JS_URL" value="http://localhost:8299/Store/content/js/"/>--> </map> </property> </bean> <!-- 配置文件 --> <bean id="freemarkerSettings" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> <property name="location" value="classpath:properties/freemarker.properties"/> </bean> <bean id="fmXmlEscape" class="freemarker.template.utility.XmlEscape"/> <!--识图解析器--> <bean id="freeMarkerViewResolver" class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver"> <property name="viewClass" value="org.springframework.web.servlet.view.freemarker.FreeMarkerView"/> <property name="viewNames" value="*.ftl"/> <property name="contentType" value="text/html; charset=utf-8"/> <property name="cache" value="true"/> <property name="suffix" value=""/> <!-- <property name="exposeRequestAttributes" value="true" /> <property name="exposeSessionAttributes" value="true" /> <property name="exposeSpringMacroHelpers" value="true" /> --> <property name="order" value="0"/> </bean> <!--对模型视图名称的解析,即在模型视图名称添加前后缀 通用解析器--> <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value=""/> <property name="viewNames" value="*.html"/> <property name="suffix" value=""/> <property name="viewClass" value="org.springframework.web.servlet.view.InternalResourceView"/> <property name="order" value="1"></property> </bean> ``` Controller: ``` /** * 转发 */ @Controller public class ForwardController { @Autowired private static FreeMarkerConfigurer freeMarkerConfigurer; @Autowired private FreeMarkerConfig freeMarkerConfig; /** * 登录 * * @return */ @RequestMapping(value = "/login", method = RequestMethod.GET) public String login(HttpServletRequest request) { FreeMarkerUtil.create(request, freeMarkerConfig, "login.ftl", null, "/WEB-INF/freeMarker", "login.html"); return "/view/login.html"; } } ``` 工具类: ``` public class FreeMarkerUtil { private FreeMarkerUtil() { } /** * 生成 HTML 静态页面 * * @param request * @param freeMarkerConfig * @param templateName 模板的名称 * @param model 生成模板需要的数据 * @param filePath 相对于 web 容器的路径 * @param fileName 要生成的文件的名称,带扩展名 */ public static void create(HttpServletRequest request, FreeMarkerConfig freeMarkerConfig, String templateName, Map<String, Object> model, String filePath, String fileName) { Writer out = null; try { Template template = freeMarkerConfig.getConfiguration() .getTemplate(templateName); String htmlPath = request.getSession().getServletContext() .getRealPath(filePath) + "/" + fileName; File htmlFile = new File(htmlPath); if (!htmlFile.getParentFile().exists()) { htmlFile.getParentFile().mkdirs(); } if (!htmlFile.exists()) { htmlFile.createNewFile(); } out = new OutputStreamWriter(new FileOutputStream(htmlPath), "UTF-8"); template.process(model, out); out.flush(); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (TemplateException e) { e.printStackTrace(); } finally { try { out.close(); out = null; } catch (IOException e) { e.printStackTrace(); } } } } ``` webapp 目录结构: ![](https://static.oschina.net/uploads/space/2017/0719/174655_0DYv_2353983.png) 报错行: ``` Template template = freeMarkerConfig.getConfiguration().getTemplate(templateName); ``` 参照配置:[https://my.oschina.net/HuifengWang/blog/300461](https://my.oschina.net/HuifengWang/blog/300461)
接口第二个参数对象数组传参为NULL
<service name="feePayBoeImp" provider="java:RPC" style="document" use="literal"> <parameter name="allowedMethods" value="doProcessor" /> <parameter name="scope" value="Request" /> <parameter name="className" value="com.zte.eas.service.feePayBoeImp.FeePayBoeImpSoapBindingSkeleton" /> <beanMapping qname="scNS:SieFeePay" xmlns:scNS="SieFeePay" languageSpecificType="java:com.zte.eas.getdata.model.SieFeePay[]" /> <beanMapping qname="scNS:PaymentContractOur" xmlns:scNS="PaymentContractOur" languageSpecificType="java:com.zte.eas.getdata.model.PaymentContractOur[]" /> <typeMapping xmlns:ns="http://model.getdata.eas.zte.com" qname="ns:SieFeePay" type="java:com.zte.eas.getdata.model.SieFeePay" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" /> <typeMapping xmlns:ns="http://model.getdata.eas.zte.com" qname="ns:ImpResult" type="java:com.zte.eas.getdata.model.ImpResult" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" /> </service>
PageHelper+sql server 2014
当sql里面有with(nolock)和定义了order by(PageInfo<Fixture> pageInfo = fixtureService.getAllFixtureByPage(1, 10,"ChangedOn desc");)就会出现这个异常,单@Test测试是能通过的 数据也能准确返回,这个异常求解决 net.sf.jsqlparser.JSQLParserException at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:56) at com.github.pagehelper.parser.OrderByParser.converToOrderBySql(OrderByParser.java:51) at com.github.pagehelper.dialect.AbstractHelperDialect.getPageSql(AbstractHelperDialect.java:176) at com.github.pagehelper.PageHelper.getPageSql(PageHelper.java:97) at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:129) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy26.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) at com.sun.proxy.$Proxy19.selectList(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:137) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:75) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) at com.sun.proxy.$Proxy20.getAllFixture(Unknown Source) at com.artesyn.reports.fixture.service.FixtureService.getAllFixtureByPage(FixtureService.java:24) at com.artesyn.reports.fixture.service.FixtureService$$FastClassBySpringCGLIB$$f264224e.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656) at com.artesyn.reports.fixture.service.FixtureService$$EnhancerBySpringCGLIB$$681a5e90.getAllFixtureByPage(<generated>) at TestMyBatis.getDataSource(TestMyBatis.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "WITH" "WITH "" at line 3, column 38. Was expecting one of: <EOF> "AS" ... "DO" ... "ANY" ... "KEY" ... "PERCENT" ... "END" ... "JOIN" ... "LEFT" ... "CROSS" ... "OPEN" ... "FULL" ... "TABLE" ... "WHERE" ... "FOR" ... "PIVOT" ... "XML" ... "UNION" ... "GROUP" ... "INNER" ... "ORDER" ... "RIGHT" ... "VALUE" ... "HAVING" ... "INSERT" ... "VALUES" ... "NATURAL" ... "REPLACE" ... "TRUNCATE" ... "INTERSECT" ... "CAST" ... "EXCEPT" ... "MINUS" ... "OVER" ... "PARTITION" ... "EXTRACT" ... "MATERIALIZED" ... "START" ... "CONNECT" ... "PRIOR" ... "SIBLINGS" ... "COLUMN" ... "NULLS" ... "FIRST" ... "LAST" ... "ROWS" ... "RANGE" ... "FOLLOWING" ... "ROW" ... "COMMIT" ... "SEPARATOR" ... "CASCADE" ... "NO" ... "ACTION" ... <K_DATETIMELITERAL> ... "PRECISION" ... ";" ... <S_IDENTIFIER> ... <S_QUOTED_IDENTIFIER> ... "," ... "ORDER" ... "ORDER" ... at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:16869) at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:16722) at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:91) at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54) ... 62 more Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "WITH" "WITH "" at line 3, column 38. Was expecting one of:
一段JSON,如何进行解析
从sFlow-rt提供的REST API得到了一段JSON数据,如何进行解析呢? { "17.ifInmulticastpkts": 0, "17.ifindex": "17", "17.ifindiscards": 0, "17.ifinerrors": 0, "17.ifinoctets": 0, "17.ifinucastpkts": 0, "17.ifoutdiscards": 0, "17.ifouterrors": 0, "17.ifoutoctets": 0, "17.ifoutucastpkts": 0, "17.ifspeed": 10000000000, "17.iftype": "ethernetCsmacd", "19.ifInmulticastpkts": 0, "19.ifindex": "19", "19.ifindiscards": 0, "19.ifinerrors": 0, "19.ifinoctets": 0, "19.ifinucastpkts": 0, "19.ifoutdiscards": 0, "19.ifouterrors": 0, "19.ifoutoctets": 0, "19.ifoutucastpkts": 0, "19.ifspeed": 10000000000, "19.iftype": "ethernetCsmacd", "21.ifInmulticastpkts": 0, "21.ifindex": "21", "21.ifindiscards": 0, "21.ifinerrors": 0, "21.ifinoctets": 0, "21.ifinucastpkts": 0, "21.ifoutdiscards": 0, "21.ifouterrors": 0, "21.ifoutoctets": 0, "21.ifoutucastpkts": 0, "21.ifspeed": 10000000000, "21.iftype": "ethernetCsmacd", "23.ifInmulticastpkts": 0, "23.ifindex": "23", "23.ifindiscards": 0, "23.ifinerrors": 0, "23.ifinoctets": 0, "23.ifinucastpkts": 0, "23.ifoutdiscards": 0, "23.ifouterrors": 0, "23.ifoutoctets": 0, "23.ifoutucastpkts": 0, "23.ifspeed": 10000000000, "23.iftype": "ethernetCsmacd" } 也就是每组数字对应的一个model,但是没有在JSON中分开,这样的JSON如何进行解析,谢谢各位大神。
JAVAFX FXML中找不到TableColumn绑定的方法
如题,JAVAFX FXML中找不到TableColumn绑定的方法 EditAssignmentGradesController的主要相关代码片段如下 ``` package sample; import java.util.Map; import Model.Record; import Model.Student; import Model.Subject; import Model.Score; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.TextArea; import javafx.scene.control.cell.TextFieldTableCell; public class EditAssignmentGradesController { @FXML private TableView<Record> recordTable; @FXML private TableColumn<Record, String> nameColumn; @FXML private TableColumn<Record, String> gradeColumn; @FXML private TableColumn<Record, String> bonusColumn; @FXML void onEditName(TableColumn.CellEditEvent<String, String> ddd) { Record record = recordTable.getSelectionModel().getSelectedItem(); record.setName(ddd.getNewValue()); } @FXML private void onEditPoints(TableColumn.CellEditEvent<Record, String> pointsCellEdited) { Record record = recordTable.getSelectionModel().getSelectedItem(); record.setPoints(pointsCellEdited.getNewValue()); } @FXML private Label assignmentLabel; @FXML private Label maxscoreLabel; @FXML private TextArea commentsArea; private int gradeWay; private Subject subject; private ObservableList<Record> recordData = FXCollections.observableArrayList();; ``` FXML中这一段一直显示 The controller 'EditAssignmentGradesController' has no event slot 'onEditName' ![图片说明](https://img-ask.csdn.net/upload/201912/07/1575675448_59692.png) 整体代码如下 ``` <?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.RadioButton?> <?import javafx.scene.control.TableColumn?> <?import javafx.scene.control.TableView?> <?import javafx.scene.control.TextArea?> <?import javafx.scene.layout.AnchorPane?> <AnchorPane prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.EditAssignmentGradesController"> <children> <Label layoutX="39.0" layoutY="43.0" text="Assignment:" /> <Label fx:id="assignmentLabel" layoutX="113.0" layoutY="43.0" text="Label" /> <Label layoutX="178.0" layoutY="43.0" text="How is this grade calculated?" /> <Label layoutX="39.0" layoutY="70.0" text="Max Score:" /> <Label fx:id="maxscoreLabel" layoutX="113.0" layoutY="70.0" text="Label" /> <TableView fx:id="recordTable" layoutX="41.0" layoutY="100.0" prefHeight="130.0" prefWidth="300.0"> <columns> <TableColumn fx:id="nameColumn" onEditCommit="#onEditName" prefWidth="75.0" sortable="false" style="-fx-background-color: #66CCFF;" text="Student Name" /> <TableColumn fx:id="gradeColumn" onEditCommit="#onEditPoints" prefWidth="75.0" sortable="false" style="-fx-background-color: #66CCFF;" text="Grade" /> <TableColumn fx:id="bonusColumn" prefWidth="75.0" sortable="false" style="-fx-background-color: #66CCFF;" text="Bonus" /> </columns> <columnResizePolicy> <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> </columnResizePolicy> </TableView> <Label layoutX="41.0" layoutY="263.0" text="Comments:" /> <TextArea fx:id="commentsArea" layoutX="113.0" layoutY="253.0" prefHeight="80.0" prefWidth="222.0" /> <Button layoutX="309.0" layoutY="361.0" mnemonicParsing="false" onAction="#handleSave" text="Save" /> <RadioButton layoutX="148.0" layoutY="70.0" mnemonicParsing="false" onAction="#percentWay" text="Percent" /> <RadioButton layoutX="216.0" layoutY="70.0" mnemonicParsing="false" onAction="#lostWay" text="Points Lost" /> <RadioButton layoutX="302.0" layoutY="70.0" mnemonicParsing="false" onAction="#rawWay" text="Raw Points" /> </children> </AnchorPane> ``` 当去除onEditName()的参数的时候,FXML文件里就不会报错,但是加上就会报错,试了半天不知道原因,恳请各位指点
怎么把这个代码简化一下 能与数据库的数据同步
<form-item label="指标" prop="tarname"> <input type="radio" v-model="data.teachertar.tarname" value="1" >常规考核</input> <input type="radio" v-model="data.teachertar.tarname" value="2" >学生评级</input> <input type="radio" v-model="data.teachertar.tarname" value="3" >同行评级</input> <input type="radio" v-model="data.teachertar.tarname" value="4" >专家或业务主管评价</input> <input type="radio" v-model="data.teachertar.tarname" value="5" >特别奖励</input> <input type="radio" v-model="data.teachertar.tarname" value="6" >教学工作量</input> <input type="radio" v-model="data.teachertar.tarname" value="7" >备课情况</input> <input type="radio" v-model="data.teachertar.tarname" value="8" >上课情况</input> <input type="radio" v-model="data.teachertar.tarname" value="9" >作业批改情况</input> <input type="radio" v-model="data.teachertar.tarname" value="10" >业务活动</input> <input type="radio" v-model="data.teachertar.tarname" value="11" >听课评课</input> <input type="radio" v-model="data.teachertar.tarname" value="12" >开设公开课</input> <input type="radio" v-model="data.teachertar.tarname" value="13" >课件制作</input> <input type="radio" v-model="data.teachertar.tarname" value="14" >网上资源建设</input> <input type="radio" v-model="data.teachertar.tarname" value="15" >课程教学改革</input> </form-item> ``` ```
关于vue的cli里面package.json文件?
求大神指教一下这里面的东西都是啥?特别是scripts里面的,我发现我家里电脑的scripts里面的东西跟公司里scripts里面的东西是不一样的? ``` { "name": "zhiliao.0", "version": "1.0.0", "description": "A Vue.js project", "author": "momo <552488648@qq.com>", "private": true, "scripts": { "dev": "node build/dev-server.js", "build": "npm run build-prod", "start": "cross-env node build/webpack.dll.js && cross-env TYPE=local node build/dev-server.js", "start-dev": "node build/webpack.dll.js && cross-env TYPE=dev node build/dev-server.js", "start-test": "node build/webpack.dll.js && cross-env TYPE=test node build/dev-server.js", "start-prod": "node build/webpack.dll.js && cross-env TYPE=prod node build/dev-server.js", "build-local": "cross-env TYPE=local model=dev node build/webpack.dll.js && cross-env TYPE=local node build/build.js", "build-dev": "cross-env TYPE=dev model=build node build/webpack.dll.js && cross-env TYPE=dev node build/build.js", "build-test": "cross-env TYPE=test model=build node build/webpack.dll.js && cross-env TYPE=test node build/build.js", "build-prod": "cross-env TYPE=prod model=build node build/webpack.dll.js && cross-env TYPE=prod node build/build.js" }, "dependencies": { "axios": "^0.15.3", "blueimp-md5": "^2.7.0", "es6-promise": "^4.1.0", "mint-ui": "^2.2.1", "qs": "^6.4.0", "vue": "^2.2.2", "vue-baidu-map": "^0.10.5", "vue-router": "^2.2.0", "vuex": "^2.2.1", "weixin-js-sdk": "^1.2.0" }, "devDependencies": { "add-asset-html-webpack-plugin": "^2.1.2", "autoprefixer": "^6.7.2", "babel-core": "^6.22.1", "babel-eslint": "^8.0.3", "babel-loader": "^6.2.10", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-runtime": "^6.22.0", "babel-plugin-transform-vue-jsx": "^3.5.0", "babel-preset-env": "^1.2.1", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-2": "^6.22.0", "babel-register": "^6.22.0", "babel-runtime": "^6.26.0", "chalk": "^1.1.3", "connect-history-api-fallback": "^1.3.0", "copy-webpack-plugin": "^4.0.1", "cross-env": "^5.1.1", "css-loader": "^0.26.4", "eslint": "4.4.1", "eslint-config-standard": "10.2.1", "eslint-friendly-formatter": "3.0.0", "eslint-loader": "1.9.0", "eslint-plugin-html": "3.1.1", "eslint-plugin-import": "2.7.0", "eslint-plugin-node": "5.1.1", "eslint-plugin-promise": "3.5.0", "eslint-plugin-standard": "3.0.1", "eventsource-polyfill": "^0.9.6", "express": "^4.14.1", "extract-text-webpack-plugin": "^2.0.0", "file-loader": "^0.10.0", "form-data": "^0.2.0", "friendly-errors-webpack-plugin": "^1.1.3", "function-bind": "^1.1.0", "happypack": "^4.0.0", "html-webpack-plugin": "^2.28.0", "http-proxy-middleware": "^0.17.3", "iconv-lite": "^0.4.7", "mime": "~1.3.4", "node-sass": "^4.9.3", "opn": "^4.0.2", "optimize-css-assets-webpack-plugin": "^1.3.0", "ora": "^1.3.0", "portfinder": "^1.0.13", "request": "~2.72.0", "rimraf": "^2.6.0", "sass-loader": "^6.0.6", "semver": "^5.3.0", "shelljs": "^0.8.1", "url-loader": "^0.5.7", "urlencode": "^1.1.0", "verification-code": "^1.0.0", "vue-loader": "^11.1.4", "vue-style-loader": "^2.0.5", "vue-template-compiler": "^2.2.4", "webpack": "^2.2.1", "webpack-bundle-analyzer": "^2.2.1", "webpack-dev-middleware": "^1.10.0", "webpack-hot-middleware": "^2.16.1", "webpack-merge": "^2.6.1", "webpack-parallel-uglify-plugin": "^1.0.2", "workbox-webpack-plugin": "^2.1.2", "ws": "^0.4.32" }, "engines": { "node": ">= 4.0.0", "npm": ">= 3.0.0" }, "publishConfig": { "registry": "http://registry.npm.alibaba-inc.com" }, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ] } ```
sencha touch打包压缩后,访问报jsonp undefined
sencha touch开发好的工程在电脑上运行正常,用官方的ryby工具压缩后电脑上无法运行,提示Uncaught TypeError: Cannot read property 'JsonP' of undefined ; 在工程中的众多store中都用到jsonp的访问方式,经过压缩后无法识别JsonP,不知道是否有大神知道解决办法? 答对50分送上,其中一个store的源码如下: Ext.define("video.store.MenuStorej",{ extend:"Ext.data.Store", requires:["video.model.MenuModel","Ext.data.Request", "Ext.data.proxy.JsonP","Ext.data.JsonP"], config:{ model:"video.model.MenuModel", proxy: { type: 'jsonp', url: 'https://openapi.youku.com/v2/schemas/video/category.json', reader: { type: "json", rootProperty: "categories" } }, listeners:{ beforeload:function( store, operation, eOpts ){ }, load:function( store, records, successful, operation, eOpts ){ } } } });
hibernate.cfg.xml mapping 中如何配置多个实体
<mapping class="com.nbicc.ita.model.AppInfo"></mapping> 我想同时配置多个class,但是这样貌似不行,请问有没有好的方法。 <mapping class="com.nbicc.ita.model.*"></mapping>
mongo 聚合查询 分组,求最大值
数据 聚合查询实在是要了老命了,下面是模拟数据: ``` { "_id" : ObjectId("590c15751f70bd329f8a972d"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "nurse", "version" : "1.1。2。2", "message" : "范德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:29.300Z") } { "_id" : ObjectId("590c15751f70bd329f8a972e"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "nurse", "version" : "1.1。2。2", "message" : "范德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:29.447Z") } { "_id" : ObjectId("590c157b1f70bd329f8a972f"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "bed", "version" : "1.1。2。2", "message" : "范1123德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:35.731Z") } { "_id" : ObjectId("590c157c1f70bd329f8a9730"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "bed", "version" : "1.1。2。2", "message" : "范1123德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:36.164Z") } { "_id" : ObjectId("590c158a1f70bd329f8a9733"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "room", "version" : "1.1.112", "message" : "范1123德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:50.082Z") } { "_id" : ObjectId("590c158a1f70bd329f8a9734"), "_class" : "com.birdnest.model.AppPublish", "user" : "admin", "deviceType" : "room", "version" : "1.1.112", "message" : "范1123德萨312313213213范德萨", "creation" : ISODate("2017-05-05T06:02:50.238Z") } ``` 需求 按照deviceType分类,获得其中每个分类最新的一个版本号 结果举例 ``` /* 1 */ { "deviceType" : "bed", "version" :"1.1.112") } /* 2 */ { "deviceType" : "room", "version" :"1.1.112") } /* 3 */ { "deviceType" : "nurse", "version" : "1.1.112") } ```
3d网页的代码谁能帮我看一下,说的什么意思
ExtensionPackages> <ExtensionPackage name="ThreeModelViewer_ExtensionPackage" description="3D Model Viewer Widget" vendor="ThingWorx Labs" packageVersion="1.4.1" minimumThingWorxVersion="6.0.0"/> </ExtensionPackages> <Widgets> <Widget name="ThreeModelViewer"> <UIResources> <FileResource type="JS" file="three.min.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="tween.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="ThreeModelViewer.ide.js" description="" isDevelopment="true" isRuntime="false"/> <FileResource type="CSS" file="ThreeModelViewer.ide.css" description="" isDevelopment="true" isRuntime="false"/> <FileResource type="JS" file="ThreeModelViewer.runtime.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="CSS" file="ThreeModelViewer.runtime.css" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="OrbitControls.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="Detector.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="Loader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/libs/jszip.min.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/3MFLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/AMFLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/AssimpJSONLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/AssimpLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/AWDLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/BabylonLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/BinaryLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/collada/Animation.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/collada/AnimationHandler.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/collada/KeyFrameAnimation.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/ColladaLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/ctm/ctm.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/ctm/CTMLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/ctm/lzma.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/DDSLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/deprecated/SceneLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/FBXLoader2.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="curves/NURBSCurve.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="curves/NURBSSurface.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="curves/NURBSUtils.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/KMZLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/MD2Loader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/MTLLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/OBJLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/PCDLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/PDBLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/PlayCanvasLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/PLYLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/PVRLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/STLLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/SVGLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/GLTFLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/TGALoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/UTF8Loader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/VRMLLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/VTKLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/sea3d/SEA3D.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/sea3d/SEA3DDeflate.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/sea3d/SEA3DLoader.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/sea3d/SEA3DLZMA.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="loaders/sea3d/XSEA3DLegacy.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="EventControls.js" description="" isDevelopment="false" isRuntime="true"/> <FileResource type="JS" file="stats.min.js" description="" isDevelopment="false" isRuntime="true"/> </UIResources> </Widget> </Widgets> </Entities>
下了一个利用gym环境进行机器学习的代码,配置好环境后,运行失败,实在是看不懂了?
本人配置的环境是 tensorflow2.1.0 keras2.3.1 代码运行错误的输出如下 在网上找没找到出现类似问题的。。哭了 ``` Traceback (most recent call last): File ".\DeepQ_v0.py", line 157, in <module> learner.train() File ".\DeepQ_v0.py", line 110, in train update_target = np.copy(self.model.predict(old_state.reshape(1, self.input_width))[0]) File "D:\python3.6.3\lib\site-packages\keras\engine\training.py", line 1462, in predict callbacks=callbacks) File "D:\python3.6.3\lib\site-packages\keras\engine\training_arrays.py", line 324, in predict_loop batch_outs = f(ins_batch) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3727, in __call__ outputs = self._graph_fn(*converted_inputs) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1551, in __call__ return self._call_impl(args, kwargs) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1591, in _call_impl return self._call_flat(args, self.captured_inputs, cancellation_manager) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1692, in _call_flat ctx, args, cancellation_manager=cancellation_manager)) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\eager\function.py", line 545, in call ctx=ctx) File "D:\python3.6.3\lib\site-packages\tensorflow_core\python\eager\execute.py", line 67, in quick_execute six.raise_from(core._status_to_exception(e.code, message), None) File "<string>", line 3, in raise_from tensorflow.python.framework.errors_impl.NotFoundError: '__inference_keras_scratch_graph_144' is neither a type of a primitive operation nor a name of a function registered in binary running on LAPTOP-JKA2BVQ. Make sure the operation or function is registered in the binary running in this process. ```
django.db.utils.InternalError: (1050, "Table 'django_content_type' already exists") 迁移文件建立数据表的时候一直报错
django.db.utils.InternalError: (1050, "Table 'django_content_type' already exists") 在网上看到很多的方法,大概都是 先删除 所有的迁移文件, 再删除 数据库中对应的 Django_migrations 表里面的所有数据 之后再进行创建迁移文件然后再执行创建数据表的操作,但是报 没有应用啥啥啥的错误。。。 接着执行: python manage.py migrate booktest --fake 结果再执行 : python manage.py migrate 还是报 1050 的错误。。。。。。。。 下面附上详细报错信息,求网友大哥们解答~~!! (django_py3) huangdonglin@huangdonglin-virtual-machine:~/django_show/test2$ python manage.py migrate Operations to perform: Synchronize unmigrated apps: messages, staticfiles Apply all migrations: admin, booktest, sessions, auth, contenttypes Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... Running migrations: Rendering model states... DONE Applying contenttypes.0001_initial...Traceback (most recent call last): File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute return self.cursor.execute(sql) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 124, in execute return self.cursor.execute(query, args) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute result = self._query(query) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query conn.query(q) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result result.read() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read first_packet = self.connection._read_packet() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet packet.check_error() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error err.raise_mysql_exception(self._data) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.InternalError: (1050, "Table 'django_content_type' already exists") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line utility.execute() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/core/management/__init__.py", line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/core/management/base.py", line 390, in run_from_argv self.execute(*args, **cmd_options) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/core/management/base.py", line 441, in execute output = self.handle(*args, **options) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 221, in handle executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/migrations/executor.py", line 110, in migrate self.apply_migration(states[migration], migration, fake=fake, fake_initial=fake_initial) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in apply_migration state = migration.apply(state, schema_editor) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/migrations/migration.py", line 115, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/migrations/operations/models.py", line 59, in database_forwards schema_editor.create_model(model) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 286, in create_model self.execute(sql, params or None) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 111, in execute cursor.execute(sql, params) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute return super(CursorDebugWrapper, self).execute(sql, params) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/utils.py", line 97, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/utils/six.py", line 658, in reraise raise value.with_traceback(tb) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute return self.cursor.execute(sql) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 124, in execute return self.cursor.execute(query, args) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute result = self._query(query) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query conn.query(q) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result result.read() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read first_packet = self.connection._read_packet() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet packet.check_error() File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error err.raise_mysql_exception(self._data) File "/home/huangdonglin/.virtualenvs/django_py3/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception raise errorclass(errno, errval)
ssh 表映射后怎么取出映射表中的数据
<many-to-one name="member" column="mid" class="abk.model.Member"/> <many-to-one name="school" column="School" class="abk.model.School" /> <many-to-one name="province" column="Province" class="abk.model.Province"/> 这是我的映射 sb.append( "select c1.classid,c1.classname,s2.id,s2.schoolname,p3.id,p3.provincename from classmanage c1,school s2,province p3"); sb.append(" where 1=1"); sb.append(" and c1.school=s2.id"); sb.append(" and c1.province=p3.id"); sb.append(" order BY p3.provincename"); System.out.println(sb.toString()); List<Classmanage> list = (List<Classmanage>) getHibernateTemplate().find(sb.toString()); 这是我的查询 classmanage is not mapped [select c1.classid,c1.classname,s2.id,s2.schoolname,p3.id,p3.provincename from classmanage c1,school s2,province p3 where 1=1 and c1.school=s2.id and c1.province=p3.id order BY p3.provincename] 这是我的异常
angular 级联问题,重新选择的时候后面选项只清空一个
一个五级级联,重新选择的时候,为什么会出现如下情况? ![图片说明](https://img-ask.csdn.net/upload/201611/17/1479369670_829362.png) ![图片说明](https://img-ask.csdn.net/upload/201611/17/1479369770_522842.png) 代码如下:<select required="" ng-model="province" ng-options="item.id as item.province for item in address | filter:'0'" > <option value="">一级类目</option> </select> <select ng-model="city" ng-options="item.id as item.city for item in address | addressFilter:province" > <option value="">二级类目</option> </select> <select ng-model="area" ng-options="item.id as item.area for item in address | addressFilter:city" > <option value="">三级类目</option> </select> <select ng-model="town" ng-options="item.id as item.town for item in address | addressFilter:area" > <option value="" >四级类目</option> </select> <select ng-model="village" ng-options="item.id as item.village for item in address | addressFilter:town" > <option value="">五级类目</option> </select> ``` .controller('searchController',['$scope',function($scope){ $scope.address = [ { "id":"1", "province":"服饰", "parent":"0" }, { "id":"1.1", "city":"女装/女士精品", "parent":"1" }, { "id":"1.1.1", "area":"裤子", "parent":"1.1" }, { "id":"1.1.1.1", "town":"休闲裤", "parent":"1.1.1" }, { "id":"1.1.1.1.1", "village":"加厚加绒休闲裤", "parent":"1.1.1.1" }, { "id":"1.2", "city":"男装", "parent":"1" }, { "id":"1.2.1", "area":"T恤", "parent":"1.2" }, { "id":"1.2.1.1", "town":"长袖T恤", "parent":"1.2.1" }, { "id":"1.2.1.1.1", "village":"韩版长袖T恤", "parent":"1.2.1.1" }, { "id":"1.2.1.1.2", "village":"宽松版长袖T恤", "parent":"1.2.1.1" }, { "id":"2", "province":"北京省", "parent":"0" }, { "id":"2.1", "city":"北京市", "parent":"2" }, { "id":"2.1.1", "area":"东城区", "parent":"2.1" }, { "id":"2.1.1.1", "town":"东东镇", "parent":"2.1.1" }, { "id":"2.1.1.1.1", "village":"东东村", "parent":"2.1.1.1" }, { "id":"2.2", "city":"xx市", "parent":"2" }, { "id":"2.2.1", "area":"xx区", "parent":"2.2" }, { "id":"2.2.1.1", "town":"xx镇", "parent":"2.2.1" }, ]; }]) ``` //类目过滤器 .filter('addressFilter',function () { return function (address,parent) { var filterAddress = []; angular.forEach(address,function(obj) { if(obj.parent === parent){ filterAddress.push(obj); } }); return filterAddress; } })
为什么我的图片显示成灰色,鼠标一直显示忙碌呢?
各位大神,大家好 我使用opencv的imshow显示图片,但是窗口能正常显示,但是图片一直为灰色,而且鼠标显示忙碌,然后会自动退出。在网上查询许久不得要领,小白一枚,劳烦各位帮忙看看是什么原因,谢谢orz ``` #include<opencv2\opencv.hpp> #include "../include/Pipeline.h" using namespace pr; using namespace cv; void TEST_PIPELINE(){ /* 定义模型 */ pr::PipelinePR prc("../lpr/model/cascade.xml", "../lpr/model/HorizonalFinemapping.prototxt","../lpr/model/HorizonalFinemapping.caffemodel", "../lpr/model/Segmentation.prototxt","../lpr/model/Segmentation.caffemodel", "../lpr/model/CharacterRecognization.prototxt","../lpr/model/CharacterRecognization.caffemodel" //"../Ipr/model/SegmentationFree.prototxt", "../Ipr/model/SegmentationFree.caffemodel" ); Mat image = imread("C:\\Users\\wysdy\\Desktop\\HyperLPR-master\\Prj-Win\\1.jpg"); imshow("image",image); waitKey(25); /* 申明一个存储该图片车牌信息检测结果的列表,读取结果 */ std::vector<pr::PlateInfo> res = prc.RunPiplineAsImage(image); float conf = 0 ; /* 开始对每一个结果进行遍历 */ for(auto st:res) { if(st.confidence>0.75) { std::cout << st.getPlateName() << " " << st.confidence << std::endl; conf += st.confidence; //waitKey(0); } } std::cout<<conf<<std::endl; system("pause"); } int main() { TEST_PIPELINE(); return 0 ; } ```
使用gesim.downloader.load()加载数据集出现URLError
使用gesim.downloader.load()加载数据集出现URLError,入门小白,求大佬指示 代码: ``` import gensim.downloader as api model = api.load("glove-twitter-25") ``` 报错情况: ``` E:\Anaconda\lib\site-packages\gensim\utils.py:1197: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial") Traceback (most recent call last): File "E:\Anaconda\lib\urllib\request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "E:\Anaconda\lib\http\client.py", line 1229, in request self._send_request(method, url, body, headers, encode_chunked) File "E:\Anaconda\lib\http\client.py", line 1275, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "E:\Anaconda\lib\http\client.py", line 1224, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "E:\Anaconda\lib\http\client.py", line 1016, in _send_output self.send(msg) File "E:\Anaconda\lib\http\client.py", line 956, in send self.connect() File "E:\Anaconda\lib\http\client.py", line 1384, in connect super().connect() File "E:\Anaconda\lib\http\client.py", line 928, in connect (self.host,self.port), self.timeout, self.source_address) File "E:\Anaconda\lib\socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "E:\Anaconda\lib\socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11004] getaddrinfo failed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:/Users/lenovo/Desktop/NLP/test.py", line 113, in <module> model = api.load("glove-twitter-25") File "E:\Anaconda\lib\site-packages\gensim\downloader.py", line 411, in load _download(name) File "E:\Anaconda\lib\site-packages\gensim\downloader.py", line 287, in _download urllib.urlretrieve(url_load_file, init_path) File "E:\Anaconda\lib\urllib\request.py", line 247, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "E:\Anaconda\lib\urllib\request.py", line 222, in urlopen return opener.open(url, data, timeout) File "E:\Anaconda\lib\urllib\request.py", line 531, in open response = meth(req, response) File "E:\Anaconda\lib\urllib\request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "E:\Anaconda\lib\urllib\request.py", line 563, in error result = self._call_chain(*args) File "E:\Anaconda\lib\urllib\request.py", line 503, in _call_chain result = func(*args) File "E:\Anaconda\lib\urllib\request.py", line 755, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "E:\Anaconda\lib\urllib\request.py", line 525, in open response = self._open(req, data) File "E:\Anaconda\lib\urllib\request.py", line 543, in _open '_open', req) File "E:\Anaconda\lib\urllib\request.py", line 503, in _call_chain result = func(*args) File "E:\Anaconda\lib\urllib\request.py", line 1360, in https_open context=self._context, check_hostname=self._check_hostname) File "E:\Anaconda\lib\urllib\request.py", line 1319, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed> ```
springmvc 用jsp取值的问题
代码如下: ``` @RequestMapping({"/","/index"}) public String index(Model model) { //1.获取所有的首页栏目 List<Channel> cs = channelService.listTopNavChannel(); model.addAttribute("cs",cs); BaseInfo bi = BaseInfoUtil.getInstacne().read(); int picNum = bi.getIndexPicNumber(); model.addAttribute("shxw", topicService.listTopicByChannelAndNumber(10,14)); model.addAttribute("ggl", topicService.listTopicByChannelAndNumber(13,8)); model.addAttribute("xxkd", topicService.listTopicByChannelAndNumber(22,8)); model.addAttribute("pics",indexPicService.listIndexPicByNum(picNum)); model.addAttribute("shdt", listByParentNavAttachment(2)); model.addAttribute("shhd",attachmentService.listChannelPic(11,4)); model.addAttribute("shkh", attachmentService.listChannelPic(23,1)); model.addAttribute("shky", listByParentNavAttachment(3));//图片 model.addAttribute("yqlj", cmsLinkService.findByType(null).getDatas()); model.addAttribute("baseInfo", BaseInfoUtil.getInstacne().read()); return "index/index"; } @RequestMapping("/topic/{tid}") public String showTopic(@PathVariable int tid,Model model) { model.addAttribute("topic", topicService.load(tid)); List<Attachment> atts = attachmentService.listAttachByTopic(tid); if(atts.size()>0) { model.addAttribute("hasAtts", true); model.addAttribute("atts", atts); } else { model.addAttribute("hasAtts",false); } return "index/topic"; } ``` 如果我再index页面已经获取cs等index方法已经给model赋的值.那么当我从 index页面点击链接跳转到topic页面时,我如何获取原先在index方法已经赋值的值? 有几种办法?有没有优缺点
Mask R-CNN在测试时报错
用Mask RCNN训练完样本在测试的时候报错了,错误显示为 Re-starting from epoch 10 Processing 1 images Traceback (most recent call last): File "fortest.py", line 103, in <module> results = model.detect([image], verbose=1) File "D:\MASKRCNN\mrcnn\model.py", line 2500, in detect log("image", image) File "D:\MASKRCNN\mrcnn\model.py", line 44, in log text += ("shape: {:20} ".format(str(array.shape))) AttributeError: 'str' object has no attribute 'shape' 这个错误是什么意思啊,急求解答
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
面试官问我:什么是消息队列?什么场景需要他?用了会出现什么问题?
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸,打败了无数
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
大学四年自学走来,这些珍藏的「实用工具/学习网站」我全贡献出来了
知乎高赞:文中列举了互联网一线大厂程序员都在用的工具集合,涉及面非常广,小白和老手都可以进来看看,或许有新收获。
《阿里巴巴开发手册》读书笔记-编程规约
Java编程规约命名风格 命名风格 类名使用UpperCamelCase风格 方法名,参数名,成员变量,局部变量都统一使用lowerCamelcase风格 常量命名全部大写,单词间用下划线隔开, 力求语义表达完整清楚,不要嫌名字长 ...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 已收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Star和完善,大家面试可以参照考点复习,希望我们一起有点东西。 前前言 为啥今天有个前前言呢? 因为你们的丙丙啊,昨天有牌面了哟,直接被微信官方推荐,知乎推荐,也就仅仅是还行吧(心里乐开花)
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
Python爬虫精简步骤1 获取数据
爬虫的工作分为四步: 1.获取数据。爬虫程序会根据我们提供的网址,向服务器发起请求,然后返回数据。 2.解析数据。爬虫程序会把服务器返回的数据解析成我们能读懂的格式。 3.提取数据。爬虫程序再从中提取出我们需要的数据。 4.储存数据。爬虫程序把这些有用的数据保存起来,便于你日后的使用和分析。 这一篇的内容就是:获取数据。 首先,我们将会利用一个强大的库——requests来获取数据。 在电脑上安装
Python绘图,圣诞树,花,爱心 | Turtle篇
1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle() circle.shape('circle') circle.color('red') circle.speed('fastest') circle.up() square = turtle.Turtle()
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 更多有趣分析教程,扫描下方二维码关注vx公号「裸睡的猪」 即可查看! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布
听说想当黑客的都玩过这个Monyer游戏(1~14攻略)
第零关 进入传送门开始第0关(游戏链接) 请点击链接进入第1关: 连接在左边→ ←连接在右边 看不到啊。。。。(只能看到一堆大佬做完的留名,也能看到菜鸡的我,在后面~~) 直接fn+f12吧 &lt;span&gt;连接在左边→&lt;/span&gt; &lt;a href="first.php"&gt;&lt;/a&gt; &lt;span&gt;←连接在右边&lt;/span&gt; o
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。   再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。   下文是原回答,希望能对你能有所启发。   如果我说,这个世界上人真的分三六九等,
为什么听过很多道理,依然过不好这一生?
记录学习笔记是一个重要的习惯,不希望学习过的东西成为过眼云烟。做总结的同时也是一次复盘思考的过程。 本文是根据阅读得到 App上《万维钢·精英日课》部分文章后所做的一点笔记和思考。学习是一个系统的过程,思维模型的建立需要相对完整的学习和思考过程。以下观点是在碎片化阅读后总结的一点心得总结。
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
如何优雅地打印一个Java对象?
你好呀,我是沉默王二,一个和黄家驹一样身高,和刘德华一样颜值的程序员。虽然已经写了十多年的 Java 代码,但仍然觉得自己是个菜鸟(请允许我惭愧一下)。 在一个月黑风高的夜晚,我思前想后,觉得再也不能这么蹉跎下去了。于是痛下决心,准备通过输出的方式倒逼输入,以此来修炼自己的内功,从而进阶成为一名真正意义上的大神。与此同时,希望这些文章能够帮助到更多的读者,让大家在学习的路上不再寂寞、空虚和冷。 ...
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计
Linux 命令(122)—— watch 命令
1.命令简介 2.命令格式 3.选项说明 4.常用示例 参考文献 [1] watch(1) manual
Linux 命令(121)—— cal 命令
1.命令简介 2.命令格式 3.选项说明 4.常用示例 参考文献 [1] cal(1) manual
记jsp+servlet+jdbc实现的新闻管理系统
1.工具:eclipse+SQLyog 2.介绍:实现的内容就是显示新闻的基本信息,然后一个增删改查的操作。 3.数据库表设计 列名 中文名称 数据类型 长度 非空 newsId 文章ID int 11 √ newsTitle 文章标题 varchar 20 √ newsContent 文章内容 text newsStatus 是否审核 varchar 10 news...
Python新型冠状病毒疫情数据自动爬取+统计+发送报告+数据屏幕(三)发送篇
今天介绍的项目是使用 Itchat 发送统计报告 项目功能设计: 定时爬取疫情数据存入Mysql 进行数据分析制作疫情报告 使用itchat给亲人朋友发送分析报告(本文) 基于Django做数据屏幕 使用Tableau做数据分析 来看看最终效果 目前已经完成,预计2月12日前更新 使用 itchat 发送数据统计报告 itchat 是一个基于 web微信的一个框架,但微信官方并不允
相关热词 c# 识别回车 c#生成条形码ean13 c#子控制器调用父控制器 c# 写大文件 c# 浏览pdf c#获取桌面图标的句柄 c# list反射 c# 句柄 进程 c# 倒计时 线程 c# 窗体背景色
立即提问