1 2 3 4 5 ··· 24 下一页
摘要: 首先,定义服务: public interface IUserService { string GetName(); void SetName(string name); } public class UserService : IUserService { private string sss; 阅读全文
posted @ 2024-04-03 16:28 Shapley 阅读(3) 评论(0) 推荐(0) 编辑
摘要: springboot项目有些日子没有开发了,新做一个min spring boot项目,复习下项目开发及发布流程。 1.新建项目: 2.新建一个业务controller controller名称及方法,名称随意,项目结构如下: testcontroller代码文件的内容如下: package com 阅读全文
posted @ 2024-02-04 13:54 Shapley 阅读(10) 评论(0) 推荐(0) 编辑
摘要: SELECT SPID = er.session_id ,Status = ses.status ,[Login] = ses.login_name ,Host = ses.host_name ,BlkBy = er.blocking_session_id ,DBName = DB_Name(er. 阅读全文
posted @ 2024-01-19 09:03 Shapley 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在游标循环中定义变量,与外面定义变量有何不同,如下代码所示: CREATE TABLE #temp (NAME VARCHAR(50)); INSERT INTO #temp VALUES ('1'); INSERT INTO #temp VALUES ('2'); DECLARE @i INT = 阅读全文
posted @ 2023-12-22 18:09 Shapley 阅读(3) 评论(0) 推荐(0) 编辑
摘要: HSSFWorkbook workbook = new HSSFWorkbook(); MemoryStream ms = new MemoryStream(); ISheet sheet = workbook.CreateSheet(); IRow headerRow = sheet.Create 阅读全文
posted @ 2023-11-02 12:58 Shapley 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 存储过程: ALTER PROCEDURE [dbo].[usp_test] @test int output AS BEGIN select @test =12; select 11; END 对应关系: 1.参数out,output均可以,都对应Dapper: parameters.Add("@ 阅读全文
posted @ 2023-08-31 15:10 Shapley 阅读(48) 评论(0) 推荐(0) 编辑
摘要: CREATE PROC dbo.proc1 AS SET XACT_ABORT ON; BEGIN TRY BEGIN TRAN --body; COMMIT END TRY BEGIN CATCH DECLARE @ErrorNumber int ,@ErrorSeverity int ,@Err 阅读全文
posted @ 2023-08-18 13:21 Shapley 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 二、将本地项目上传到自己的Git仓库中1. 快速步骤分解打开我们的项目,此时项目中是没有 .git 文件的在你的项目文件夹里面【鼠标右击】弹出菜单在【鼠标右击】弹出的菜单中,点击【Git Bash Here】在命令窗口中输入:git init在 Gitee 中 我们刚刚新建的仓库里,去复制仓库的地址 阅读全文
posted @ 2023-07-19 17:54 Shapley 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 简单示例: obj.autocomplete({ source: function (request, response) { doAjax("fee/GetPrice", "{'wldm':'" + request.term + "'}", function (data) { response($ 阅读全文
posted @ 2023-03-02 18:06 Shapley 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 先上测试代码: public class Test{ public static void main(String[] args) { Integer l1 = new Integer(1); Integer l2 = new Integer(1); System.out.println(l1==l 阅读全文
posted @ 2022-11-24 08:46 Shapley 阅读(275) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 24 下一页