修改sql语句
This commit is contained in:
parent
d380981bcc
commit
356d5a21a5
|
@ -140,6 +140,16 @@ public class OrgApplyInfoController extends JeecgController<OrgApplyInfo, IOrgAp
|
||||||
return Result.OK("审核完成!");
|
return Result.OK("审核完成!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@AutoLog(value = "上传合同-保存为草稿")
|
||||||
|
@ApiOperation(value = "上传合同-保存为草稿", notes = "上传合同-保存为草稿")
|
||||||
|
@RequiresPermissions("orgapplyinfo:nu_org_apply_info:edit")
|
||||||
|
@RequestMapping(value = "/editCg", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> editCg(@RequestBody OrgApplyInfo orgApplyInfo) {
|
||||||
|
orgApplyInfoService.audit(orgApplyInfo);
|
||||||
|
return Result.OK("操作完成!");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 合同上传环节-保存并提交
|
* 合同上传环节-保存并提交
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
|
||||||
import cn.hutool.json.JSONObject;
|
import cn.hutool.json.JSONObject;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.nu.dto.OrgApplyInfoMQDto;
|
import com.nu.dto.OrgApplyInfoMQDto;
|
||||||
|
@ -249,8 +250,16 @@ public class OrgApplyInfoServiceImpl extends ServiceImpl<OrgApplyInfoMapper, Org
|
||||||
//推送机构信息变更申请消息(小程序)
|
//推送机构信息变更申请消息(小程序)
|
||||||
sendOrgAuthInfo(orgApplyInfo.getOpenId(),orgApplyInfo.getId(),"2",orgApplyInfo.getComName());
|
sendOrgAuthInfo(orgApplyInfo.getOpenId(),orgApplyInfo.getId(),"2",orgApplyInfo.getComName());
|
||||||
}
|
}
|
||||||
|
|
||||||
//机构加盟审批流程
|
//机构加盟审批流程
|
||||||
baseMapper.updateById(orgApplyInfo);
|
baseMapper.updateById(orgApplyInfo);
|
||||||
|
|
||||||
|
if(StringUtils.equals("2", orgApplyInfo.getStatus()) && StringUtils.isNotBlank(orgApplyInfo.getContent())){
|
||||||
|
UpdateWrapper<OrgApplyInfo> updateWrapper = new UpdateWrapper<>();
|
||||||
|
updateWrapper.set("content",null);
|
||||||
|
updateWrapper.eq("id", orgApplyInfo.getId());
|
||||||
|
update(updateWrapper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue