20241219
This commit is contained in:
@@ -69,6 +69,20 @@ namespace FineUIPro.Web.ContractorQuality
|
||||
this.PunishmentId = Request.Params["punishmentId"];
|
||||
if (!string.IsNullOrEmpty(this.PunishmentId))
|
||||
{
|
||||
|
||||
var att1 = from x in Funs.DB.AttachFile where x.ToKeyId == this.PunishmentId + "#1" select x;
|
||||
if (att1.Count() == 0)
|
||||
{
|
||||
lbtnViewAttach.Hidden = true;
|
||||
}
|
||||
|
||||
var att2 = from x in Funs.DB.AttachFile where x.ToKeyId == this.PunishmentId + "#2" select x;
|
||||
if (att2.Count() == 0)
|
||||
{
|
||||
lbtnViewAttach2.Hidden = true;
|
||||
lbtnAttach3.Hidden = true;
|
||||
}
|
||||
|
||||
Model.EMC_Punishment pun = BLL.PunishmentService.GetPunishmentById(this.PunishmentId);
|
||||
if (pun != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user