摘要: //根据用户id完全匹配 //按照用户输入的字符串以空格分隔开来得到数组arr,并且es中必须包含arr[0,length] public static ISearchResponse<spindex_content_es_model> get_list_search_by_key(string u 阅读全文
posted @ 2023-06-13 09:37 liskov_design 阅读(548) 评论(0) 推荐(0) 编辑
摘要: var config_chosen = {search_contains: true, enable_split_word_search: true}; $(".fsbpmchosenuniformxls").chosen("destroy"); $("#selectId").html("<opti 阅读全文
posted @ 2023-06-07 09:31 liskov_design 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: //response = response.replace(/<pre>/ig, "").replace(/<\/pre>/ig, ""); //过滤 if (response.indexOf("{") > -1 && response.indexOf("}") > -1) { var 阅读全文
posted @ 2023-05-29 10:59 liskov_design 阅读(25) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-05-26 10:45 liskov_design 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //查看枚举接口 common_post.postPortal({ "ac": "get_enum_items_by_id", id:"枚举ID" }).then(function (data) { }); //查看数据详情 common_post.postPortal({"ac": "get_on 阅读全文
posted @ 2023-05-25 10:20 liskov_design 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 订单流程 //表单加载初始化时 function preinit() { } //表单加载完成,isrun代表流程是否流转中 1-是,0-否 function Loaded(isrun) { $("#om_order_status").attr("disabled", "disabled"); if 阅读全文
posted @ 2023-05-24 15:07 liskov_design 阅读(10) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-05-23 12:18 liskov_design 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: //获取附件中的链接地址 function get_file_path_from_encode_value(x) { var arrLink = []; x.replace(/<a [^>]*path=['"]([^'"]+)[^>]*/gi, function (match, cap 阅读全文
posted @ 2023-05-23 12:13 liskov_design 阅读(119) 评论(0) 推荐(0) 编辑
摘要: //新增或者修改数据的时候给输入控件绑定下拉值。function load_suoshugaoxiao() { common_post.postPortal({ "ac": "get_data_by_sql_back_data_table_from_portal_with_table_id", "s 阅读全文
posted @ 2023-05-20 15:48 liskov_design 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 银行:<select id="sl_bank" class="fsbpmserachcontrol search_select" myts="sl"></select> 状态:<select id="sl_status_filter" class="fsbpmserachcontrol search 阅读全文
posted @ 2023-05-20 15:45 liskov_design 阅读(42) 评论(0) 推荐(0) 编辑
摘要: <!--做数据的流转状态操作001--><div class="div_bottom_control_location_area" id="div_rejected_or_approved"> <button onclick="submit_or_reject_for_review(0)" type 阅读全文
posted @ 2023-05-20 15:36 liskov_design 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 代码: DataTable dataTable = new DataTable();dataTable.Columns.Add("ID");DataRow dataRow = dataTable.NewRow();dataRow.ItemArray = new[] {"111"};dataTable 阅读全文
posted @ 2023-05-17 14:32 liskov_design 阅读(75) 评论(0) 推荐(1) 编辑
摘要: public class DataDemo { private static Dictionary<string, string> dictionary = new Dictionary<string, string>(); static DataDemo() { Console.WriteLine 阅读全文
posted @ 2023-04-11 17:11 liskov_design 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1、 连接ftp服务器 ftp下载命令:格式:ftp [hostname| ip-address] a)在linux命令行下输入: ftp 192.168.1.1 b)服务器询问你用户名和密码,分别输入用户名和相应密码,待认证通过即可。 2、 下载文件 下载文件通常用get和mget这两条命令。 a 阅读全文
posted @ 2023-04-11 14:18 liskov_design 阅读(40) 评论(0) 推荐(0) 编辑
摘要: BigDecimal a = new BigDecimal("0.01");BigDecimal b = new BigDecimal("0.010000");System.out.println(a.equals(b));//falseSystem.out.println(a.compareTo( 阅读全文
posted @ 2023-04-07 14:35 liskov_design 阅读(26) 评论(0) 推荐(0) 编辑
摘要: DataType >ConnectionStringDataType.MySql >Data Source=127.0.0.1;Port=3306;User ID=root;Password=root; Initial Catalog=cccddd;Charset=utf8; SslMode=non 阅读全文
posted @ 2023-03-17 15:19 liskov_design 阅读(679) 评论(0) 推荐(0) 编辑
摘要: exec sp_changeobjectowner '[namespace].[TableXXX]', 'dbo' 把表TableXXX的所有者改为dbo 阅读全文
posted @ 2023-03-16 16:13 liskov_design 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Hashtable和Dictionary都是.Net下的表示键值对的集合,那么我们在使用中该选择Hashtable还是Dictionary?下边我们看看他们之间的区别: 1、Dictionary<K,V>在使用中是顺序存储的,而Hashtable由于使用的是哈希算法进行数据存储,是无序的。 2、Di 阅读全文
posted @ 2023-03-14 17:14 liskov_design 阅读(55) 评论(0) 推荐(0) 编辑
摘要: public static string get_val_by_key(this Dictionary<string, string> dictionary, string key) => dictionary == null || !dictionary.ContainsKey(key) ? "" 阅读全文
posted @ 2023-02-27 10:36 liskov_design 阅读(15) 评论(0) 推荐(0) 编辑