Minor problems encountered in the work without finishing

Source: Internet
Author: User

Console.log ("Success", e.data); page Error alert
Nested exception is org.apache.ibatis.type.TypeException:
Could not set parameters for mapping:parametermapping
{property= ' name ', Mode=in, Javatype=class java.lang.Object, Jdbctype=null, numericscale=null, resultmapid= ' null ',
Jdbctypename= ' null ', expression= ' null '}. Cause:org.apache.ibatis.type.TypeException:
Error setting null for parameter #2 with jdbctype other.
Try setting a different jdbctype for this parameter or a different jdbctypefornull the configuration property.
Cause:java.sql.SQLException: Invalid column type

Could not set parameters for mapping:
parametermapping{property= ' name ', Mode=in, Javatype=class java.lang.Object, Jdbctype=null,
Numericscale=null, resultmapid= ' null ', jdbctypename= ' null ', expression= ' null '}.
Cause:org.apache.ibatis.type.TypeException:Error setting null for parameter #2 with jdbctype other.
Try setting a different jdbctype for this parameter or a different jdbctypefornull the configuration property.
Cause:java.
Sql. SQLException: Invalid column type

Type matching for Jdbctype
Object does not match correctly when page is passed
Error entering mapping type

An invalid property ' name ' is found in mapping #{id,name=#{name}.
Valid properties are Javatype,jdbctype,mode,numericscale,resultmap,typehandler,jdbctypename
11:35:50.891 [localhost-startstop-1] DEBUG O.s.b.f.s.defaultlistablebeanfactory-creating shared instance of Singleton Bean ' sqlsessionfactory '
Before submitting the guarantee is tested and no problem, the alert is all deleted Ah, test with console.log ()

"^[\\w-]{1,50}$"

Ctrl+f5 forced Refresh


1-No record-checking modal frame
2-Phone cannot be dialed
3-Day leave
/^ (([1-9]+) | ([0-9]+\. [0-9] {)}) $/

Ng-pattern= "/^ (([1-9]+) | ( [0-9]+\. [0-9] {)}) $/"
<div class= "Col-md-4" >
<label for= "pattern" >4. Pattern matching </label>
</div>
<div class= "Col-md-8" >
<input type= "text" id= "pattern" name= "pattern" ng-model= "User.pattern" ng-pattern= "/^[a-za-z]*\d$/" class= " Form-control "/>
<span class= "Glyphicon glyphicon-ok form-control-feedback"
Ng-show= "Myform.pattern. $dirty && myform.pattern. $valid" ></span>
</div>


Onkeyup= "Value=value.replace (/[^\d]/g, ')"


<input type= "text" name= "Inputtext" required ng-trim= "true" ng-model= "Usernum" ng-pattern= "/^[0-9]*[1-9][0-9]*$/" Ng-maxlength= "6〃maxlength=" 6〃/>

<span ng-show= "Myform.inputtext. $error. Required" > must write Numbers </span>
<span ng-show= "Myform.inputtext. $invalid &&!myform.inputtext. $error. Required" > Illegal numbers </span>

Name= "Inputtext" ng-model= "money" required ng-trim= "true" ng-pattern= "/^ (([1-9]*) | ( [0-9]+\. [0-9] {)}) $/"


<script>
function $ (e) {return document.getElementById (e);}
function Go ()
{
var reg=/^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16} ([0-9]|[ XX]) $/;
if (Reg.test ($ ("check"). Value))
{Alert ("OK");}
Else{alert ("No");}
}


^1[0-9]{10}$
</script>
<body>
<input id= "Check" type= "text" onchange= "Go ()"/>
</body> Search

Ng-class= "{false: ' Glyphicon glyphicon-phone-alt text-green ', true: ' Glyphicon glyphicon-earphone text-green '}[ Tel.isphone] "

error:[$parse: Lexerr]:angularjs syntax error
Clean cache is very heavy, sometimes it is the cause of the cache page has been an error

$ (' #house_search '). Typeahead ({
Source:function (query, process) {
var results = $.map (Housenos, function (house) {
Return String (house.id);
});
Process (results);
},

Highlighter:function (item) {
return item;
},

Updater:function (item) {
Console.log (' item ', item);
return item;
}
});

$ (' #customer_search '). Typeahead ({
Source:function (query, process) {
var results = $.map (Customernos, function (Customernos) {
Console.log ();
Return String (Customernos.crid);
});
Process (results);
},

Highlighter:function (item) {
return item;
},

Updater:function (item) {
Console.log (' item ', item);
return item;
}
});


<select class= "Form-control" ng-model= "Exchange.exchangeno"
Ng-options= "Contractno. Contract_num as Contractno. Contract_num for Contractno in Contractnos "
Required>

<option selected value= "" >--Please select--</option>


<input id= "House_search" type= "text" ng-model= "Info.housesid"
class= "Form-control" ng-model= "Info.housesid"
placeholder= "listing number" data-provide= "Typeahead"
Ng-change= "Delhousenos (info.housesid)" required/>


Datacenter.get ("Inquire/customernos", 1);

Datacenter.addeventlistener ("Customernos", function (e) {
Customernos = E.data;
$scope. $apply ();
});


Assistantstorenos
Assistantregionalnos

var Assistantstorenos =[];//store Manager name
Var assistantregionalnos=[];//regional Manager name

#assistantStore_search
#assistantRegional_search

Query customer number
@RequestMapping (value = "/customernos/{id}", method = Requestmethod.get)
Public Object Querycustomernos (@PathVariable ("id") Integer ID) {
Object o = Service.getcustomernos ();
Return Dataevent.wrap ("Customernos", O);
}

<!--customer Reference number--
<select id= "Getcustomernos" resultmap= "M" >
SELECT
B.crid
From
CUSTOMER. CUSTOMERS A, CUSTOMER. Cresource B
WHERE
A.cid = B.cid
and A.biztype = 2
</select>

SELECT
B.crid
From
CUSTOMER. CUSTOMERS A, CUSTOMER. Cresource B
WHERE
A.cid = B.cid
and A.biztype = 2


Select Emp_name from Cbssys.t_employees

Bootstrap-typehead plug-in when making a drop-down box prompt
$ (' #customer_search '). Typeahead ({
Source:function (query, process) {
var results = $.map (Customernos, function (Customernos) {
Console.log ();
Return String (Customernos.crid);
});
Process (results);
},

Highlighter:function (item) {
return item;
},

Updater:function (item) {
Console.log (' item ', item);
return item;
}
});
[ERROR]/e:/intellj/cbs-transactions/src/main/java/com/wiwj/cbs/transactions/service/impl/link12/ LINK12SERVICEIMPL.JAVA:[217,24] No symbols found

An important step in configuring MAVEN
-dmaven.multimoduleprojectdirectory= $M 2_home

SVN resource Download path
Http://10.10.101.71:81/repos/CBS


[WARNING] ' Dependencies.dependency. (groupId:artifactId:type:classifier) ' must be unique

Data-dismiss= "Modal is a custom HTML5 data property. Used to close the modal window.

Where Ng-show and Ng-hide are the same, but Ng-show is to meet the conditions on display, Ng-hide is to meet the conditions on the hidden, the following is no longer mentioned ng-hide.


Font awesome perfect icon font for bootstrap design only
Bootstrap-star-rating,jquery star rating Plug-in

<div class= "Panel-footer" >
<nav class= "Pull-right" >
<pagination num-pages= "pages" curr-page= "page" on-select-page= "selectpage (page)" >
</pagination>
</nav>
</div>


Empty modal box, write this paragraph without going to the manual page modal box cache
$ (". Modal"). On ("Hidden.bs.modal", function () {
$ (this). Removedata ("Bs.modal");
});

Alert-dismissable warning boxes that can be canceled

Http://localhost:8080/transactions/fund/view/fundList.html


Unable to access the server, the following files can be modified the last two add # (April 20, 2016 16:50)
C:\Windows\System32\drivers\etc\hosts


Lease Contract Number: SJ009SJ


Datacenter.find ("Contractrent/myrentlist", $scope. D)
Find this URL and assign it a value

list<map<string, string>> list =contractrentdao.querylist (data, New Rowbounds (Integer.parseint (data.get ("page")), Integer.parseint (Data.get ("size")));
This page and size means that we have to set our own

Datacenter Process Re-understanding:
1, first through the Angularjs two-way binding or jquery from the page to obtain data or state, through the data or the state to perform calls to different datacenter inside the method (find\get\modify);
2. Find, get, modify these methods trigger the URL address and pass the parameter or state value in the past to execute.
3, after the implementation of the above methods, to obtain the results or status of monitoring, and through the ANGULARJS bidirectional binding to complete the data and state transmission to the page

$scope. Cancel = function () {
if (!confirm (' confirm void? ')) return;
Datacenter.modify ("Contractrent/cancel", {CID: $scope. CID, Company:1, stt:98, mm:$ (' #MM '). Val (), Contractno: $scope. CNO}, $scope. CID);
}
Delete confirmation box, delete before prompt to delete? If the confirmation calls modify to modify, if canceled, will return, will not execute the deprecated URL


if ($ ("#iscancel"). Is (": Checked")) {
$scope. d[' STT '] = 98;
}
This sentence is whether the radio box is selected
, if you choose STT there will be a value

Data-main

<script src= ". /.. /js/config.js "></script>
<script src= "Http://static.bacic5i5j.com/cdn/lib/jquery/jquery-2.1.4.min.js" ></script>
<script src= "Http://static.bacic5i5j.com/cdn/lib/require/2.1.9/require.min.js" data-main= ". /js/detail "></script>


JS inside the substring () rather than substring ();


Jqeury in the study
<script
src= "Http://libs.baidu.com/jquery/1.8.3/jquery.min.js" >
</script>
<script>


function MyFunc () {
$ ("#h00"). html ("Hello jquery!!!")
}
$ (document). Ready (MyFunc)
</script>

jquery adds CSS style
$ ("#h01"). attr ("style", "color:red"). HTML ("Hello jquery")

<input type= "text" onblur= "MyFunc ()" value= "hehe"/>
<script>
function MyFunc () {
SetInterval (function () {
var name=prompt ("Please enter your name:", "Your Name")
Alert ("Welcome:" +name+ "Mr./MS");
},3000);
}
</script>

Minor problems encountered in the work without finishing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.