求这段SQL语句 在 mybatis 里面怎么写 100
Declare@khnovarchar(15),@Fieldstrvarchar(1000),@querystrvarchar(1000);select@khno='',...
Declare @khno varchar(15) , @Fieldstr varchar(1000), @querystr varchar(1000);
select @khno = '', @Fieldstr = '', @querystr = ' and quyu = ''A1AA'' '
select @Fieldstr = 'substring(customerno, 1+4, len(customerno)-4) '
Exec p_AutoNewId_str 'basecustomer', @Fieldstr, @khno output, @querystr, 1
Select 'A1AA' + @khno -- A1AA13
存储过程
ALTER Procedure [dbo].[P_AutoNewID_str]
(
@TableName varchar(50),
@FieldName varchar(50),
@OldID varchar(50) output,
@Qfactor varchar(150),
@delete int=1
) 展开
select @khno = '', @Fieldstr = '', @querystr = ' and quyu = ''A1AA'' '
select @Fieldstr = 'substring(customerno, 1+4, len(customerno)-4) '
Exec p_AutoNewId_str 'basecustomer', @Fieldstr, @khno output, @querystr, 1
Select 'A1AA' + @khno -- A1AA13
存储过程
ALTER Procedure [dbo].[P_AutoNewID_str]
(
@TableName varchar(50),
@FieldName varchar(50),
@OldID varchar(50) output,
@Qfactor varchar(150),
@delete int=1
) 展开
2015-12-08
展开全部
public User(String mima){//构造方法
super();
this.mima=mima;
}
public String getMima() {//get,set方法
return mima;
}
public void setMima(String mima) {
this.mima = mima;
}
super();
this.mima=mima;
}
public String getMima() {//get,set方法
return mima;
}
public void setMima(String mima) {
this.mima = mima;
}
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询