|
@@ -24,7 +24,6 @@ import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingPro
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectInfo;
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectInfo;
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectLessInfo;
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectLessInfo;
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectQuery;
|
|
import cn.com.qmth.examcloud.core.print.service.bean.printingproject.PrintingProjectQuery;
|
|
-import com.google.common.collect.Lists;
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -207,6 +206,12 @@ public class PrintingProjectServiceImpl implements PrintingProjectService {
|
|
printingProjectRepository.updateSupplierNameBySupplierId(supplierId, supplierName);
|
|
printingProjectRepository.updateSupplierNameBySupplierId(supplierId, supplierName);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<PrintingProjectLessInfo> getPrintingProjectLessInfoList() {
|
|
|
|
+ SqlWrapper sql = new SqlWrapper().select("id as projectId,org_id,exam_id").from("ec_prt_project");
|
|
|
|
+ return jdbcTemplate.query(sql.build(), new BeanPropertyRowMapper(PrintingProjectLessInfo.class));
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public List<OrgInfo> getOrgList(Long pmId, Long supplierId) {
|
|
public List<OrgInfo> getOrgList(Long pmId, Long supplierId) {
|
|
SqlWrapper sql = new SqlWrapper().select("org_id,org_name").from("ec_prt_project").where().append("1=1");
|
|
SqlWrapper sql = new SqlWrapper().select("org_id,org_name").from("ec_prt_project").where().append("1=1");
|
|
@@ -230,10 +235,4 @@ public class PrintingProjectServiceImpl implements PrintingProjectService {
|
|
return jdbcTemplate.query(sql.build(), new BeanPropertyRowMapper(ExamInfo.class));
|
|
return jdbcTemplate.query(sql.build(), new BeanPropertyRowMapper(ExamInfo.class));
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- public List<PrintingProjectLessInfo> getAllPrintingProjectLessInfo() {
|
|
|
|
- //todo
|
|
|
|
- return Lists.newArrayList();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
}
|
|
}
|