Exemplo n.º 1
0
 public static JsonResponse deleteRecord(Long _id) {
   ProduceRecords re = ProduceRecords.findById(_id);
   re.delete();
   return new JsonResponse(
       0, "[" + re.produceDate + "]的生产[" + re.batch.product.productName + "]的日报已成功删除");
 }