摘要:
異步批量循環修改示例如下: public async Task<OutPutReturn<string>> CancelAppointmentadminAsync(CancelAppintment cancelmodel, string userid, string username) { OutP
閱讀全文
posted @ 2022-05-30 17:41
葉子牛牛
閱讀(48)
推薦(0)
posted @ 2022-05-27 18:14
葉子牛牛
閱讀(42)
推薦(0)
摘要:
sql: select a.*,b.IsPayment from Appointment a left join OrderPayment b on a.yyid=b.yyid where b.IsPayment IS NULL or b.IsPayment =0 linq:(linq中無left
閱讀全文
posted @ 2022-05-27 18:08
葉子牛牛
閱讀(106)
推薦(0)
摘要:
1.方法1 [HttpGet] public string subZeroAndDot(string s) { string sResult = s.ToString(); if (sResult.IndexOf(".") < 0) return sResult; int iIndex = sRes
閱讀全文
posted @ 2022-05-27 17:48
葉子牛牛
閱讀(249)
推薦(0)
posted @ 2022-05-26 15:19
葉子牛牛
閱讀(16)
推薦(0)
摘要:
轉自:http://www.rzrgm.cn/jojomeme/archive/2012/04/05/2433173.html 一、字符轉換函數1、ASCII()返回字符表達式最左端字符的ASCII 碼值。在ASCII()函數中,純數字的字符串可不用‘’括起來,但含其它字符的字符串必須用‘’
閱讀全文
posted @ 2022-05-23 15:08
葉子牛牛
閱讀(171)
推薦(0)
摘要:
轉自http://www.rzrgm.cn/TulipsWill/p/11498859.html 1. 如下表: 2. 轉換xml select name from zz FOR XML PATH('root'); 3. 加個分隔符和去掉根節點。 select '、' + name from
閱讀全文
posted @ 2022-05-23 14:32
葉子牛牛
閱讀(3430)
推薦(0)
摘要:
C# linq示例如下: var s = db.DD_TKSQJLB .Join(db.DD_YYMXB, a => a.YYMXID, b => b.ID, (a, b) => new { DD_TKSQJLB = a, DD_YYMXB = b }) .Join(db.DD_JBXX, a =>
閱讀全文
posted @ 2022-05-23 10:15
葉子牛牛
閱讀(70)
推薦(0)
摘要:
C#調用Api示例如下: private async Task<bool> UpdateJJStateToKKAsync(string ddid) { HttpClientHelper client = new HttpClientHelper(); string kkttUri = Configu
閱讀全文
posted @ 2022-05-23 10:07
葉子牛牛
閱讀(924)
推薦(0)
摘要:
SELECT DATENAME(YEAR, a.CreateTime)as Years,DATENAME(MONTH, a.CreateTime) AS XName,sum(JE+ PacketMoney)as Val from Appointment a where a.zt=6 GROUP BY
閱讀全文
posted @ 2022-05-23 10:03
葉子牛牛
閱讀(86)
推薦(0)