1.删除特征值.2.image_delete3.entity
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | //å é¤ç¹å¾å¼ |
| | | [HttpPost("deleteDetail13")] |
| | | public ResponseResult deleteDetail13(LLJDto rkjDto) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new LljService().deleteDetail13(rkjDto); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //æ´æ°ä¸åæ ¼æè¿° |
| | | [HttpPost("updateRemarks")] |
| | | public ResponseResult updateRemarks(LLJDto rkjDto) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new LljService().updateRemarks(rkjDto); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //æ´æ°ä¸åæ ¼æè¿° |
| | | [HttpPost("getImage")] |
| | | public ResponseResult getImage(LLJDto rkjDto) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new LljService().updateRemarks(rkjDto); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | //å表id |
| | | public string? id { get; set; } |
| | | //å表id2ï¼æ ·æ¬å¼idï¼ |
| | | public string? id13 { get; set; } |
| | | |
| | | //夿³¨ |
| | | public string? Remarks { get; set; } |
| | |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "F_TYPE")] |
| | | public bool? Ftype { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å§å¤æ è¯ï¼0ï¼éè´ ã1ï¼å§å¤ï¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "remarks")] |
| | | public string? Remarks { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Models; |
| | | |
| | | /// <summary> |
| | | /// IQCæ£éªæ ·ä¾è¡¨ |
| | | /// </summary> |
| | | [SugarTable("MES_QA_ITEMS_DETECT_DETAIL13")] |
| | | public class MesQaItemsDetectDetail13 |
| | | { |
| | | /// <summary> |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] |
| | | public Guid? Guid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¶äº²Guid |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "parent_guid")] |
| | | public Guid? ParentGuid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç·ç·Guid |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "grandpa_guid")] |
| | | public Guid? GrandpaGuid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç»æå¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "fcheck_resu")] |
| | | public decimal? FCheckResu { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¤å®æ å¿ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "fstand")] |
| | | public string? FStand { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªé¡¹ç® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "fcheck_item")] |
| | | public string? FCheckItem { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå»ºæ¥æï¼æ£éªæ¶é´ï¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "create_date")] |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå»ºäººï¼æ£éªäººï¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "create_by")] |
| | | public string? CreateBy { get; set; } |
| | | } |
| | |
| | | /// æ åå¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "fstand")] |
| | | public int? Fstand { get; set; } |
| | | public string? Fstand { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸å
¬å·® |
| | |
| | | [SugarColumn(ColumnName = "remarks")] |
| | | public string? Remarks { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æåº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "forder")] |
| | | public int? Order { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ ·æ¬æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ybsl")] |
| | | public int? Ybsl { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] public int? Unqualified { get; set; } |
| | | } |
| | |
| | | using Microsoft.IdentityModel.Tokens; |
| | | using MES.Service.Models; |
| | | using Microsoft.IdentityModel.Tokens; |
| | | using NewPdaSqlServer.DB; |
| | | using NewPdaSqlServer.Dto.service; |
| | | using NewPdaSqlServer.entity; |
| | | using NewPdaSqlServer.util; |
| | | using SqlSugar; |
| | | using static Azure.Core.HttpHeader; |
| | | |
| | | namespace NewPdaSqlServer.service.QC; |
| | | |
| | |
| | | FcheckItem = b.FcheckItem, |
| | | FdownAllow = b.FdownAllow, |
| | | FcheckLevel = b.FREQUENCY, |
| | | Fstand = Convert.ToInt32(b.FSTAND), |
| | | Fstand = b.FSTAND, |
| | | FupAllow = b.FupAllow, |
| | | SampleSizeNo = b.SampleSizeNo, |
| | | FenterQty = 0, |
| | |
| | | a.FspecRequ, |
| | | a.FreQty, |
| | | a.CheckQyt, |
| | | a.FcheckResu |
| | | a.FcheckResu, |
| | | a.Order, |
| | | a.Ybsl |
| | | }).Select((a, b) => new MesQaItemsDetectDetail5 |
| | | { |
| | | Guid = a.Guid, |
| | |
| | | Factory = "1000", |
| | | Company = "1000", |
| | | FenterQty = SqlFunc.AggregateCount(b.Guid), |
| | | FcheckResu = a.FcheckResu |
| | | }).ToList(); |
| | | FcheckResu = a.FcheckResu, |
| | | Order = a.Order, |
| | | Ybsl = a.Ybsl, |
| | | }).OrderBy(a => a.Order) |
| | | .ToList(); |
| | | } |
| | | |
| | | public int SetQSItemDetail(MesQaItemsDetectDetail12 detail) |
| | |
| | | |
| | | return [isNullCount, isNotNullCount]; |
| | | } |
| | | |
| | | |
| | | |
| | | //å é¤ç¹å¾å¼ |
| | | public int deleteDetail13(LLJDto dto) |
| | | { |
| | | var withOracle = Db.Deleteable<MesQaItemsDetectDetail13>() |
| | | .Where(s => s.Guid.ToString() == dto.id13) |
| | | .ExecuteCommand(); |
| | | |
| | | return withOracle; |
| | | } |
| | | |
| | | //å é¤ç¹å¾å¼ |
| | | public List<MesFile> updateRemarks(LLJDto dto) |
| | | { |
| | | var withOracle = Db.Queryable<MesFile>() |
| | | .Where(s => s.ParentGuid.ToString() == dto.gid) |
| | | .ToList(); |
| | | |
| | | return withOracle; |
| | | } |
| | | } |