|
@@ -326,11 +326,7 @@ public class workorder extends PaoCust {
|
|
|
if(!getString("fstatus").equals("待开始"))throw new P2AppException("","该工单不在待开始状态");
|
|
if(!getString("fstatus").equals("待开始"))throw new P2AppException("","该工单不在待开始状态");
|
|
|
setValue("startdate",new Date(),11l);
|
|
setValue("startdate",new Date(),11l);
|
|
|
setValue("fstatus","进行中",11l);
|
|
setValue("fstatus","进行中",11l);
|
|
|
- PaoSetRemote serviceform = getPaoSet("SERVICEFORM");
|
|
|
|
|
- if(!serviceform.isEmpty()){
|
|
|
|
|
- serviceform.getPao(0).setValue("fstatus","进行中",11l);
|
|
|
|
|
- serviceform.save();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
/**给经销商发送消息**/
|
|
/**给经销商发送消息**/
|
|
|
PaoSetRemote paoSet = getPaoSet("$workermassage", "workermassage", "");
|
|
PaoSetRemote paoSet = getPaoSet("$workermassage", "workermassage", "");
|