|
|
@ -87,7 +87,7 @@ public class BsSgcDfAqrwService extends BaseService<BsSgcDfAqrwMapper, BsSgcDfAq |
|
|
|
|
|
|
|
public void saveOther(BsSgcDfAqrw bsSgcDfAqrw) { |
|
|
|
//获取水闸ids
|
|
|
|
String[] sluiceIds = bsSgcDfAqrw.getDikeIds(); |
|
|
|
String[] sluiceIds = bsSgcDfAqrw.getDikeCodes(); |
|
|
|
//设置总数
|
|
|
|
bsSgcDfAqrw.setTaskSluiceNumber((long) sluiceIds.length); |
|
|
|
List<String> ids = Arrays.asList(sluiceIds); |
|
|
@ -113,11 +113,11 @@ public class BsSgcDfAqrwService extends BaseService<BsSgcDfAqrwMapper, BsSgcDfAq |
|
|
|
BsSgcDfAqrw DfAqrw = bsSgcDfAqrwMapper.selectById(id); |
|
|
|
|
|
|
|
//获取原来的水闸id
|
|
|
|
String[] sluiceIds = DfAqrw.getDikeIds(); |
|
|
|
String[] sluiceIds = DfAqrw.getDikeCodes(); |
|
|
|
List<String> strings = Arrays.asList(sluiceIds); |
|
|
|
|
|
|
|
//现在de
|
|
|
|
String[] ids = bsSgcDfAqrw.getDikeIds(); |
|
|
|
String[] ids = bsSgcDfAqrw.getDikeCodes(); |
|
|
|
bsSgcDfAqrw.setTaskSluiceNumber((long) ids.length); |
|
|
|
List<String> list = Arrays.asList(ids); |
|
|
|
//获取新增的
|
|
|
|