Git ignore refresh
GIT使用,修改 .gitignore 文件,如何重新生效
git rm -r --cached . # 清除缓存
git add . # 追踪文件
git commit -m "更新.gitignore" # 注释提交
git push origin master # 推送远程
GIT使用,修改 .gitignore 文件,如何重新生效
git rm -r --cached . # 清除缓存
git add . # 追踪文件
git commit -m "更新.gitignore" # 注释提交
git push origin master # 推送远程
class IWS_RefreshUnrecievedInvoiceRunbase extends RunBaseBatch
{
protected void new()
{
super();
}
public boolean canRunInNewSession()
{
return true;
}
static IWS_RefreshUnrecievedInvoiceRunbase construct()
{
return new IWS_RefreshUnrecievedInvoiceRunbase();
}
static ClassDescription description()
{
return "Update project invoice ID for negative amounts " + curExt();
}
static void main(Args args)
{
IWS_RefreshUnrecievedInvoiceRunbase runbase;
runbase = IWS_RefreshUnrecievedInvoiceRunbase::construct();
if (runbase.prompt())
{
runbase.runOperation();
}
}
public void run()
{
}
}
MsSQL
DataSource=服务器名\实例名;Initial Catalog=库名;Persist Security Info=True;User ID=sa;Password=123456;
常用格式为:yyyy-MM-dd HH:mm:ss
以 2019-12-31 06:07:59:666 时间为例:
Letter | 含义 | Example |
---|---|---|
y | 年 | yyyy------>2019 |
M | 月 | MM------->12 大写的M |
d | 一月中的天数 | dd--------->31 |
H | 小时(0-23) | HH--------->18 24 小时制的是大写的H |
h | 小时(1-12) | hh---------->06 24 小时制的是大写的h |
m | 分 | mm-------->07 小写的m |
s | 秒 | ss-------->59 |
S | 毫秒 | SSS--------->666 |
Y | Week Year | YYYY---->2020 |
D | 一年中天数 | DD-------->365 |
原文链接:https://blog.csdn.net/qq_37358143/article/details/103868657
private Stream buildPdf(str Id)
{
System.IO.MemoryStream stream;
Contract contract = new Contract ();
Controller controller = new Controller ();
SRSPrintDestinationSettings settings;
SRSReportRunService srsReportRunService = new SrsReportRunService();
Microsoft.Dynamics.AX.Framework.Reporting.Shared.ReportingService.ParameterValue[] parameterValueArray;
SRSReportExecutionInfo executionInfo = new SRSReportExecutionInfo();
Map reportParametersMap;
SRSProxy srsProxy;
System.Byte[] reportBytes = new System.Byte[0]();
contract.parmId("Id");
controller.parmReportName(ssrsReportStr(Report, Report));
//controller.parmDialogCaption('@IWS:IWS02036');
//controller.parmShowDialog(false);
//controller.parmLoadFromSysLastValue(false);
controller.parmReportContract().parmRdpContract(contract);
settings = controller.parmReportContract().parmPrintSettings();
settings.printMediumType(SRSPrintMediumType::File);
settings.fileFormat(SRSReportFileFormat::PDF);
controller.parmReportContract().parmReportServerConfig(SRSConfiguration::getDefaultServerConfiguration());
controller.parmReportContract().parmReportExecutionInfo(executionInfo);
srsReportRunService.getReportDataContract(controller.parmreportcontract().parmReportName());
srsReportRunService.preRunReport(controller.parmreportcontract());
reportParametersMap = srsReportRunService.createParamMapFromContract(controller.parmReportContract());
parameterValueArray = SrsReportRunUtil::getParameterValueArray(reportParametersMap);
srsProxy = SRSProxy::constructWithConfiguration(controller.parmReportContract().parmReportServerConfig());
reportBytes = srsproxy.renderReportToByteArray(
controller.parmreportcontract().parmreportpath(),
parameterValueArray,
settings.fileFormat(),
settings.deviceinfo());
if (reportBytes)
{
stream = new System.IO.MemoryStream(reportBytes);
stream.Position = 0;
}
return stream;
}