|
@@ -797,11 +797,11 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
797
|
797
|
tpTicket.setUpdateUser(personId);
|
798
|
798
|
//tpTicket.setUpdateDate(new Date());
|
799
|
799
|
//校验此工单是否已存在
|
800
|
|
- TpTicket tpTicketName= tpTicketMapper.selectTpTicketName(1,tpTicket.getType(),tpTicket.getTicketTitle());
|
801
|
|
- if (null != tpTicketName){
|
802
|
|
- response.addError("工单已存在");
|
803
|
|
- return response;
|
804
|
|
- }
|
|
800
|
+// TpTicket tpTicketName= tpTicketMapper.selectTpTicketName(1,tpTicket.getType(),tpTicket.getTicketTitle());
|
|
801
|
+// if (null != tpTicketName){
|
|
802
|
+// response.addError("工单已存在");
|
|
803
|
+// return response;
|
|
804
|
+// }
|
805
|
805
|
// 插入工单
|
806
|
806
|
tpTicketMapper.insert(tpTicket);
|
807
|
807
|
insertTdImage(tpTicket, imageUrl, personId);
|