|
@@ -271,6 +271,11 @@ public class InviteServiceImpl implements InviteService {
|
|
|
try{
|
|
|
String userId = request.getHeader("userId");
|
|
|
Map<String, Object> mapVal = inviteMapper.getDelAskGoods(id);
|
|
|
+ if(Double.parseDouble(mapVal.get("type").toString()) > 0){
|
|
|
+ map.put("msg", "500");
|
|
|
+ map.put("errMsg", "此单据已有要料信息!");
|
|
|
+ return map;
|
|
|
+ }
|
|
|
LogData logData = new LogData()
|
|
|
.setUserId(userId)
|
|
|
.setData(mapVal.toString())
|