feat(hjgl): 完善焊前检查和防腐检查流程
焊前检查需要同时覆盖下料、组对和防腐检查,并支持移动端查询与保存。 扩展焊前检查模型、服务和页面字段,补充检查结果、不合格原因、整改要求、 附件和防腐检查记录,便于按焊口和材料追溯检查过程。
This commit is contained in:
@@ -57,7 +57,26 @@ namespace BLL
|
||||
|
||||
return q.ToList();
|
||||
}
|
||||
public static List<Tw_InputDetailBarCodeOutput> GetListData(string materialCode)
|
||||
{
|
||||
var q = from mat in Funs.DB.HJGL_MaterialCodeLib
|
||||
where
|
||||
mat.MaterialCode == materialCode
|
||||
select new Tw_InputDetailBarCodeOutput
|
||||
{
|
||||
MaterialCode = mat.MaterialCode,
|
||||
Code = mat.Code,
|
||||
HeatNo = mat.HeatNo,
|
||||
BatchNo = mat.BatchNo,
|
||||
MaterialName = mat.MaterialName,
|
||||
MaterialDef = mat.MaterialDef,
|
||||
MaterialSpec = mat.MaterialSpec,
|
||||
MaterialUnit = mat.MaterialUnit,
|
||||
BarCode = mat.MaterialCode
|
||||
};
|
||||
|
||||
return q.ToList();
|
||||
}
|
||||
public static void AddByInputDetail(Tw_InputMaster inputMaster, Tw_InputDetail inputDetail)
|
||||
{
|
||||
if (inputMaster == null || inputDetail == null)
|
||||
|
||||
Reference in New Issue
Block a user