12 2022 档案

摘要:select table_name from user_tables; 阅读全文
posted @ 2022-12-23 16:06 小严不言慢 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1、创建 create or replace procedure A_YANDANCHAN is -- 名称A_YANDANCHAN可以改掉 v_sql VARCHAR2(4000); v_tb_column VARCHAR2(4000); v_cnt NUMBER(18,0); v_key VAR 阅读全文
posted @ 2022-12-23 15:59 小严不言慢 阅读(712) 评论(0) 推荐(0) 编辑
摘要:select listagg(COLUMN_NAME,',')within group(order by COLUMN_NAME)name from all_tab_columns where table_name = '表名'; 阅读全文
posted @ 2022-12-23 12:35 小严不言慢 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1、在根目录下创建两个.env的文件,.env.build是生产环境,.env.test是测试环境,两个文件的【NODE_ENV】都= ‘production’用另一个变量【VUE_APP_CURRENTMODE】 来区分环境.env.test env.production 2、package.js 阅读全文
posted @ 2022-12-23 09:27 小严不言慢 阅读(611) 评论(0) 推荐(0) 编辑
摘要:1、使用v-bind:disabled="变量名" <vxe-button @click="next" v-bind:disabled="buttonDisabled" id="next">派送</vxe-button>2、变量名初始化 3、在需要使得控件可操作的地方通过以下方式:$("#next" 阅读全文
posted @ 2022-12-23 09:24 小严不言慢 阅读(1252) 评论(0) 推荐(0) 编辑
摘要:以登录界面为例,当登录之后,页面上就不应仍出现“登录”的菜单栏 1、在login菜单栏中使用v-show="$route.name !=='login'" 2、在route中需设置name,因为v-show是通过name作为判断条件的 阅读全文
posted @ 2022-12-22 12:44 小严不言慢 阅读(487) 评论(0) 推荐(0) 编辑
摘要:1、在控件中新增@click="方法名" 2、在methods里面新增方法 阅读全文
posted @ 2022-12-22 12:39 小严不言慢 阅读(132) 评论(0) 推荐(0) 编辑
摘要:1、在路由的base中加上项目名称 2、url重写应为 阅读全文
posted @ 2022-12-22 11:26 小严不言慢 阅读(181) 评论(0) 推荐(0) 编辑
摘要:在table中设定 :cell-class-name="cellClassName" template: <vxe-table border class="mytable-style m-t-2" :cell-class-name="cellClassName" :data="list"> scri 阅读全文
posted @ 2022-12-22 11:21 小严不言慢 阅读(259) 评论(0) 推荐(0) 编辑
摘要:1、设置点击事件 template: <vxe-form-item title="新产品码(临时)" field="newProductCode" :item-render="{}"> <vxe-toolbar> <template #buttons> <vxe-input type="search 阅读全文
posted @ 2022-12-22 10:56 小严不言慢 阅读(527) 评论(0) 推荐(0) 编辑
摘要:1、显示html的方法:将该列的type设成html,那么当给此列赋值为带html标签的内容的时候,html标签不会以文本的形式展示在页面上 template: <vxe-table-column field="attachment" title="附件" width="300" type="htm 阅读全文
posted @ 2022-12-22 10:51 小严不言慢 阅读(3092) 评论(0) 推荐(0) 编辑
摘要:IEnumerable<IGrouping<string, DataRow>> result = dt.Rows.Cast<DataRow>().GroupBy<DataRow, string>(dr => dr["FORMSERIALNUMBER"].ToString());//C# 对DataT 阅读全文
posted @ 2022-12-21 14:01 小严不言慢 阅读(545) 评论(0) 推荐(0) 编辑
摘要:SQLHelper.cs using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System. 阅读全文
posted @ 2022-12-21 13:48 小严不言慢 阅读(138) 评论(0) 推荐(0) 编辑
摘要:OracleHelper.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Text; using System.Data; using Syste 阅读全文
posted @ 2022-12-21 13:46 小严不言慢 阅读(156) 评论(0) 推荐(0) 编辑
摘要:string sql = "实际sql语句"; DataTable sourseDt = OracleHelper.ExecuteDataTable(sql); for(var i = 0;i < sourseDt.Rows.Count; i++) { string sourceCont = sou 阅读全文
posted @ 2022-12-21 13:13 小严不言慢 阅读(691) 评论(0) 推荐(0) 编辑
摘要:string sql = "实际sql语句"; DataTable dt = OracleHelper.ExecuteDataTable(sql); ExcelHepler excelHepler = new ExcelHepler(); ArrayList arr_Get_Att = new Ar 阅读全文
posted @ 2022-12-21 10:57 小严不言慢 阅读(96) 评论(0) 推荐(0) 编辑
摘要:var path = @"D:\test\1.CSV"; var records = OpenExcel(path); var groupByFirst = new List<Test> { }; var groupBySecond = new List<Test> { }; groupByFirs 阅读全文
posted @ 2022-12-21 10:53 小严不言慢 阅读(271) 评论(0) 推荐(0) 编辑
摘要:private static List<Test> OpenExcel(string path) { var records = new List<Test> { }; using (var reader = new StreamReader(path)) using (var csv = new 阅读全文
posted @ 2022-12-21 10:45 小严不言慢 阅读(277) 评论(0) 推荐(0) 编辑
摘要:方法一: public static string SendMail2(string add_smtp, string acc_SendMail, string psw_SendMail, string add_SendMail, ArrayList arr_GetMail, ArrayList a 阅读全文
posted @ 2022-12-21 10:42 小严不言慢 阅读(50) 评论(0) 推荐(0) 编辑
摘要:方法一: [HttpGet] [EnableCors("userLogin")] public IActionResult DownloadFile(string url , string token) { var filePath = "D://xzc/" + _Configuration.Get 阅读全文
posted @ 2022-12-21 10:18 小严不言慢 阅读(565) 评论(0) 推荐(0) 编辑
摘要:在Route里面进行设置,这里的设置[Route("api/[controller]/[action]")] 访问的模式是 域名/api/控制器名/方法名 阅读全文
posted @ 2022-12-21 10:06 小严不言慢 阅读(37) 评论(0) 推荐(0) 编辑
摘要:一、添加引用 右击项目—— 管理NuGet程序包——分别搜索System.DirectoryServices、System.DirectoryServices.AccountManagement,安装 二、验证 [HttpPost] [EnableCors("userLogin")] public 阅读全文
posted @ 2022-12-21 09:52 小严不言慢 阅读(330) 评论(0) 推荐(0) 编辑
摘要:一、引入cors组件 右击项目——在终端中打开——dotnet add package Microsoft.AspNetCore.Cors --version 2.0.1 二、配置cors 在项目根目录的Startup.cs (1)ConfigureServices方法 services.AddCo 阅读全文
posted @ 2022-12-21 09:23 小严不言慢 阅读(327) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示