Commit 1c7163d5 authored by tangwei's avatar tangwei

设置合同作废后任务删除

parent 86797b84
......@@ -272,6 +272,7 @@ public class HouseholdContractController extends BaseController {
ToDoTasks doTasks= toDoTasksMapper.selectOne(wrapper);
if(doTasks!=null){
doTasks.setState("作废");
doTasks.setIsDelete(true);
toDoTasksMapper.updateById(doTasks);
emqKeeper.getMqttClient().publish("TASK_MESSAGE" ,JSON.toJSONString(doTasks).getBytes(), 2 ,false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment