|
|
|
@ -306,6 +306,22 @@ public class OdsProductEmbryoInventoryServiceImpl implements IOdsProductEmbryoIn
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public String approve(OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
String result="操作完成";
|
|
|
|
|
OdsProductEmbryoInventory odsProductEmbryoInventory11=new OdsProductEmbryoInventory();
|
|
|
|
|
odsProductEmbryoInventory11.setID(odsProductEmbryoInventory.getID());
|
|
|
|
|
odsProductEmbryoInventory11.setUserDefined4(odsProductEmbryoInventory.getUserDefined4());//-审核意见
|
|
|
|
|
odsProductEmbryoInventory11.setUserDefined8(SecurityUtils.getUsername());//审核人
|
|
|
|
|
odsProductEmbryoInventory11.setOrderStatus(odsProductEmbryoInventory.getOrderStatus());//2驳回,3已完成,
|
|
|
|
|
odsProductEmbryoInventory11.setUserDefined9(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));//审核时间
|
|
|
|
|
odsProductEmbryoInventory11.setLastUpdateBy(SecurityUtils.getUsername());
|
|
|
|
|
odsProductEmbryoInventory11.setLastUpdateDate(new Date());
|
|
|
|
|
odsProductEmbryoInventoryMapper.updateOdsProductEmbryoInventory(odsProductEmbryoInventory11);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
private String getPurcode(String factorycode, String orderType) {
|
|
|
|
|
|
|
|
|
|