|
@@ -566,8 +566,9 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
public AjaxResult sendLetter(PlanQuarterStandardVo quarterStandardVo) {
|
|
|
PlanQuarter quarter = new PlanQuarter();
|
|
|
BeanUtils.copyProperties(quarterStandardVo, quarter);
|
|
|
-
|
|
|
- int review = planQuarterMapper.sendLetter(quarterStandardVo.getPlanPracticalId());
|
|
|
+ quarter.setSendLetter("1");
|
|
|
+ quarter.setLetterTime(new Date());
|
|
|
+ int review = planQuarterMapper.updateById(quarter);
|
|
|
if (review != 1) {
|
|
|
return AjaxResult.error("项目状态数据异常");
|
|
|
}
|