企业编号 最大值 加1 以及新增时,企标名称可以重复(编号和名称重复也是新增一条,不做覆盖)
This commit is contained in:
-1
@@ -130,6 +130,5 @@ public interface SarBussionessStandDao extends BaseMapper<SarBussionessStand> {
|
||||
@Select("select * from sar")
|
||||
String setDtqbbhbuss(String dtqbbhbuss);
|
||||
|
||||
String selectMaxStandnSn();
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4320,7 +4320,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
||||
|
||||
@Override
|
||||
public ResponseMessage selectMaxStandnSn() {
|
||||
String max = baseMapper.selectMaxStandnSn();
|
||||
String max = iSarBussStandSnService.selectMaxStandnSn();
|
||||
int maxIOnfo = 0;
|
||||
if(StringUtils.isNotBlank(max)){
|
||||
int i = Integer.parseInt(max);
|
||||
|
||||
Reference in New Issue
Block a user