Browse Source

公众号页面相关接口

master
qushutong 1 year ago
parent
commit
5e36c6690c
  1. 14
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/controller/ScreenEnterpriseOutputController.java
  2. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/ScreenEnterpriseOutputService.java
  3. 10
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/ScreenEnterpriseOutputServiceImpl.java

14
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/controller/ScreenEnterpriseOutputController.java

@ -24,12 +24,14 @@ import com.epmet.commons.tools.validator.ValidatorUtils;
import com.epmet.commons.tools.validator.group.AddGroup;
import com.epmet.commons.tools.validator.group.DefaultGroup;
import com.epmet.commons.tools.validator.group.UpdateGroup;
import com.epmet.modules.partymember.entity.ScreenEnterpriseOutputEntity;
import com.epmet.modules.partymember.service.ScreenEnterpriseOutputService;
import com.epmet.resi.partymember.dto.ScreenEnterpriseOutputDTO;
import com.epmet.resi.partymember.dto.partymember.form.vegetableFormDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
@ -60,12 +62,11 @@ public class ScreenEnterpriseOutputController {
/**
*
* @param
* @return com.epmet.commons.tools.utils.Result
* @description: 上报
* @author qushutong
* @date 2024/3/22 14:52
* @param
* @return com.epmet.commons.tools.utils.Result
* @Version1.0
**/
@PostMapping("yifengScreen/submitOutput")
@ -76,6 +77,12 @@ public class ScreenEnterpriseOutputController {
return new Result();
}
@GetMapping("yifengScreen/getVegetableByEnterprise/{placeOrgName}")
public Result<List<ScreenEnterpriseOutputEntity>> getVegetableByEnterprise(@PathVariable("placeOrgName") String placeOrgName) {
return new Result<List<ScreenEnterpriseOutputEntity>>().ok(screenEnterpriseOutputService.getListVegetable(placeOrgName));
}
@PutMapping
public Result update(@RequestBody ScreenEnterpriseOutputDTO dto) {
//效验数据
@ -101,4 +108,5 @@ public class ScreenEnterpriseOutputController {
return new Result();
}
}

2
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/ScreenEnterpriseOutputService.java

@ -96,4 +96,6 @@ public interface ScreenEnterpriseOutputService extends BaseService<ScreenEnterpr
void delete(String[] ids);
Result submitOutput(vegetableFormDTO dto);
List<ScreenEnterpriseOutputEntity> getListVegetable(String placeOrgName);
}

10
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/ScreenEnterpriseOutputServiceImpl.java

@ -113,4 +113,14 @@ public class ScreenEnterpriseOutputServiceImpl extends BaseServiceImpl<ScreenEnt
return new Result();
}
@Override
public List<ScreenEnterpriseOutputEntity> getListVegetable(String placeOrgName) {
Map map = new HashMap();
map.put("DEL_FLAG", "0");
map.put("PLACE_ORG_NAME", placeOrgName);
List<ScreenEnterpriseOutputEntity> entityList = baseDao.selectByMap(map);
return entityList;
}
}
Loading…
Cancel
Save