|
@@ -106,7 +106,7 @@ public class BackConfigService {
|
|
|
return page1;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+//期次新增
|
|
|
public boolean saveOrUpdate(Projectplan Projectplan) {
|
|
|
return ProjectplanService.saveOrUpdate(Projectplan);
|
|
|
}
|
|
@@ -334,36 +334,38 @@ public class BackConfigService {
|
|
|
Integer quantity = vo.getQuantity();
|
|
|
|
|
|
if (StringUtils.isNotNull(id) && !id.equals("")) {
|
|
|
- queryWrapper.eq("id", id);
|
|
|
+ queryWrapper.like("id", id);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(code) && !code.equals("")) {
|
|
|
- queryWrapper.eq("code", code);
|
|
|
+ queryWrapper.like("code", code);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(aname) && !aname.equals("")) {
|
|
|
- queryWrapper.eq("aname", aname);
|
|
|
+ queryWrapper.like("aname", aname);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(name) && !name.equals("")) {
|
|
|
- queryWrapper.eq("name", name);
|
|
|
+ queryWrapper.like("name", name);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(capacityunit) && !capacityunit.equals("")) {
|
|
|
- queryWrapper.eq("capacityunit", capacityunit);
|
|
|
+ queryWrapper.like("capacityunit", capacityunit);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(capacity) && !capacity.equals("")) {
|
|
|
- queryWrapper.eq("capacity", capacity);
|
|
|
+ queryWrapper.like("capacity", capacity);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(projectid) && !projectid.equals("")) {
|
|
|
- queryWrapper.eq("projectid", projectid);
|
|
|
+ queryWrapper.like("projectid", projectid);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(ordernum) && !ordernum.equals("")) {
|
|
|
- queryWrapper.eq("ordernum", ordernum);
|
|
|
+ queryWrapper.like("ordernum", ordernum);
|
|
|
}
|
|
|
if (StringUtils.isNotNull(quantity) && !quantity.equals("")) {
|
|
|
- queryWrapper.eq("quantity", quantity);
|
|
|
+ queryWrapper.like("quantity", quantity);
|
|
|
}
|
|
|
Page<Line> page1 = lineService.page(page, queryWrapper);
|
|
|
return page1;
|
|
|
}
|
|
|
-
|
|
|
+ public boolean saveOrUpdate(Line Line) {
|
|
|
+ return lineService.saveOrUpdate(Line);
|
|
|
+ }
|
|
|
//Companys
|
|
|
public Page<Companys> CompanysBypage(Companysvo vo) {
|
|
|
Page<Companys> page = new Page<Companys>(vo.getCurrent(), vo.getPageSize());
|