|
@@ -180,7 +180,6 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/editPro")
|
|
@PostMapping("/editPro")
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public Object editPro(@Valid @RequestBody EditHandle<FosterwxMobile> editHandle, @AuthUser User authUser) {
|
|
public Object editPro(@Valid @RequestBody EditHandle<FosterwxMobile> editHandle, @AuthUser User authUser) {
|
|
|
String[] ids = editHandle.getIds().split(",");
|
|
String[] ids = editHandle.getIds().split(",");
|
|
|
for (String id : ids) {
|
|
for (String id : ids) {
|
|
@@ -198,7 +197,6 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
// 更新个微池个微二维码及企微appid
|
|
// 更新个微池个微二维码及企微appid
|
|
|
FosterwxMobile finalFosterwxMobile = fosterwxMobile;
|
|
FosterwxMobile finalFosterwxMobile = fosterwxMobile;
|
|
|
Corp corp = corpService.getById(fosterwxMobile.getWorkWxCorpId());
|
|
Corp corp = corpService.getById(fosterwxMobile.getWorkWxCorpId());
|
|
|
- log.info("企微主体idL{},详情:{}", fosterwxMobile.getWorkWxCorpId(), corp);
|
|
|
|
|
if (null != corp) {
|
|
if (null != corp) {
|
|
|
fosterwxMobilePoolService.update(new FosterwxMobilePool() {{
|
|
fosterwxMobilePoolService.update(new FosterwxMobilePool() {{
|
|
|
setCodeUrl(finalFosterwxMobile.getCodeUrl());
|
|
setCodeUrl(finalFosterwxMobile.getCodeUrl());
|
|
@@ -551,7 +549,6 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/loadPool")
|
|
@PostMapping("/loadPool")
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public Object loadPool(
|
|
public Object loadPool(
|
|
|
@Valid @RequestBody List<FosterwxMobile> fosterwxMobileList, @AuthUser User authUser) {
|
|
@Valid @RequestBody List<FosterwxMobile> fosterwxMobileList, @AuthUser User authUser) {
|
|
|
StringBuffer sb = new StringBuffer();
|
|
StringBuffer sb = new StringBuffer();
|