|
|
@@ -69,7 +69,7 @@ public class DemandPublishServiceImpl extends BaseMybatisDao<DemandPublishMapper
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@Override
|
|
|
public Pagination<DemandPublishBo> listPublish(String name, String publishPlatform, Integer publishClient,
|
|
|
- String publishPage, Integer ifTop, Integer pageNo, Integer pageSize) {
|
|
|
+ String publishPage, Integer ifTop, Integer pageNo, Integer pageSize,String employerName) {
|
|
|
Map<String, Object> params=new HashMap<String, Object>();
|
|
|
if (null!=name) {
|
|
|
params.put("name", name);
|
|
|
@@ -85,7 +85,10 @@ public class DemandPublishServiceImpl extends BaseMybatisDao<DemandPublishMapper
|
|
|
}
|
|
|
if (null!=ifTop) {
|
|
|
params.put("ifTop", ifTop);
|
|
|
- }
|
|
|
+ }
|
|
|
+ if (null!=employerName) {
|
|
|
+ params.put("employerName", employerName);
|
|
|
+ }
|
|
|
Pagination<DemandPublishBo> p=(Pagination<DemandPublishBo>) findPage("findDemandPublishByPage", "findDemandPublishCount",
|
|
|
params,pageNo, pageSize);
|
|
|
List<DemandPublishBo> dp=(List<DemandPublishBo>) p.getList();
|