05 2021 档案
摘要:1 declare 2 cnta int; 3 begin 4 select count(*) into cnta from AS_SPJG where spid = :new.spid; 5 if cnta = 0 then 6 INSERT INTO AS_SPJG(SPID, 7 PRICE,
阅读全文
摘要:修改Tomcat默认JDK版本:Windows:windows系统里,tomcat默认是使用系统变量JAVA_HOME的jdk版本,如果需要更换,可以在配置文件手动指定。在bin\catalina.bat和bin\setclasspath.bat文件,记事本打开编辑,开头的空白处加上: set JA
阅读全文
摘要:解决方法: 数据库的mdf和ldf文件属性中的安全权限重新设置为完全。 然后重新附加即可成功。
阅读全文
摘要:1 var goodsTotalPrice = checkedGoodsList.Select(s => new 2 { 3 TotalPrice = s.number * s.retail_price 4 }) 5 .Sum(s => s.TotalPrice);
阅读全文
摘要:1 services.AddMvc(options => 2 { 3 options.UseWtmMvcOptions(); 4 }) 5 .AddJsonOptions(options => { 6 options.UseWtmJsonOptions(); 7 options.JsonSerial
阅读全文
摘要:如何使where in子句类似于SQL Server中的in子句? 1 var results = from states in _objectdatasource.StateList() 2 where listofcountrycodes.Contains(states.CountryCode)
阅读全文